summaryrefslogtreecommitdiffstats
path: root/chrome/views/accelerator.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 23:51:38 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 23:51:38 +0000
commitc2dacc9ec41232903ba700c6aef5ef98bfcb8af8 (patch)
tree4aa4d7100862c64bdd92d70e6323001beb19edb7 /chrome/views/accelerator.cc
parentd66e710ec668e34271def44d7f0416260657171c (diff)
downloadchromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.zip
chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.gz
chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.bz2
Rename ChromeViews namespace to views
http://crbug.com/2188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/accelerator.cc')
-rw-r--r--chrome/views/accelerator.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/views/accelerator.cc b/chrome/views/accelerator.cc
index 05e6bba..2239867 100644
--- a/chrome/views/accelerator.cc
+++ b/chrome/views/accelerator.cc
@@ -9,7 +9,7 @@
#include "chrome/common/l10n_util.h"
#include "generated_resources.h"
-namespace ChromeViews {
+namespace views {
std::wstring Accelerator::GetShortcutText() const {
int string_id = 0;
@@ -94,8 +94,8 @@ std::wstring Accelerator::GetShortcutText() const {
// string.
//
// TODO(idana) bug# 1232732: this hack can be avoided if instead of using
- // ChromeViews::Menu we use ChromeViews::MenuItemView because the latter is a
- // View subclass and therefore it supports marking text as RTL or LTR using
+ // views::Menu we use views::MenuItemView because the latter is a View
+ // subclass and therefore it supports marking text as RTL or LTR using
// standard Unicode directionality marks.
if (adjust_shortcut_for_rtl) {
int key_length = static_cast<int>(shortcut_rtl.length());
@@ -110,5 +110,5 @@ std::wstring Accelerator::GetShortcutText() const {
return shortcut;
}
-} // namespace ChromeViews
+} // namespace views