Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: ui/base/models/accelerator.cc

Issue 8508055: Move views::Accelerator to ui in order to use it from aura code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/models/accelerator.h ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/accelerator.cc
diff --git a/views/accelerator.cc b/ui/base/models/accelerator.cc
similarity index 98%
rename from views/accelerator.cc
rename to ui/base/models/accelerator.cc
index 41a953d051a746ad05b6ff8c181bd7a044dc3ec5..45dee03a06f5ba4cfef6edba0e929f6a8976837d 100644
--- a/views/accelerator.cc
+++ b/ui/base/models/accelerator.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "views/accelerator.h"
+#include "ui/base/models/accelerator.h"
#if defined(OS_WIN)
#include <windows.h>
@@ -17,7 +17,7 @@
#include "grit/ui_strings.h"
#include "ui/base/l10n/l10n_util.h"
-namespace views {
+namespace ui {
string16 Accelerator::GetShortcutText() const {
int string_id = 0;
@@ -160,4 +160,4 @@ string16 Accelerator::GetShortcutText() const {
return shortcut;
}
-} // namespace views
+} // namespace ui
« no previous file with comments | « ui/base/models/accelerator.h ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698