diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 21:41:07 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 21:41:07 +0000 |
commit | 017f95fdd71c853a98777b57eca08b0e6ea49a7b (patch) | |
tree | b6329e4d38fa6ce40a954affb72e6b4ce70a5259 /views | |
parent | 0ba86e4c0da3770ed5e6b63b4f5121e4075bcde6 (diff) | |
download | chromium_src-017f95fdd71c853a98777b57eca08b0e6ea49a7b.zip chromium_src-017f95fdd71c853a98777b57eca08b0e6ea49a7b.tar.gz chromium_src-017f95fdd71c853a98777b57eca08b0e6ea49a7b.tar.bz2 |
[Accessibility] Chrome's main window is missing an accessible name
BUG=36732
TEST=Verify Chrome's main window has a name in AccExplorer or run the new test.
Review URL: http://codereview.chromium.org/661054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/views.gyp | 1 | ||||
-rw-r--r-- | views/window/non_client_view.cc | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/views/views.gyp b/views/views.gyp index 5981083..42530ea 100644 --- a/views/views.gyp +++ b/views/views.gyp @@ -42,6 +42,7 @@ '../app/app.gyp:app_base', '../app/app.gyp:app_strings', '../app/app.gyp:app_resources', + '../chrome/chrome.gyp:chrome_strings', '../skia/skia.gyp:skia', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc index fcf4353..20d848b 100644 --- a/views/window/non_client_view.cc +++ b/views/window/non_client_view.cc @@ -4,7 +4,9 @@ #include "views/window/non_client_view.h" +#include "app/l10n_util.h" #include "app/theme_provider.h" +#include "grit/chromium_strings.h" #include "views/widget/root_view.h" #include "views/widget/widget.h" #include "views/window/window.h" @@ -33,6 +35,7 @@ static const int kClientViewIndex = 1; NonClientView::NonClientView(Window* frame) : frame_(frame), client_view_(NULL) { + SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME)); } NonClientView::~NonClientView() { |