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

Unified Diff: chrome/browser/chromeos/webui_menu_control.h

Issue 6250123: WebUI: Change DOMUI to WebUI in two chromeos classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: avi review Created 9 years, 11 months 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 | « chrome/browser/chromeos/views/webui_menu_widget.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/webui_menu_control.h
diff --git a/chrome/browser/chromeos/dom_ui/domui_menu_control.h b/chrome/browser/chromeos/webui_menu_control.h
similarity index 78%
rename from chrome/browser/chromeos/dom_ui/domui_menu_control.h
rename to chrome/browser/chromeos/webui_menu_control.h
index 2e4cc93949b147bd20e1c0b0b68a3a5a36c39d3a..3cb545c6855db8b0229498aaec2e2262c6c9673c 100644
--- a/chrome/browser/chromeos/dom_ui/domui_menu_control.h
+++ b/chrome/browser/chromeos/webui_menu_control.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_DOMUI_MENU_CONTROL_H_
-#define CHROME_BROWSER_CHROMEOS_DOM_UI_DOMUI_MENU_CONTROL_H_
+#ifndef CHROME_BROWSER_CHROMEOS_WEBUI_MENU_CONTROL_H_
+#define CHROME_BROWSER_CHROMEOS_WEBUI_MENU_CONTROL_H_
#pragma once
namespace gfx {
@@ -16,17 +16,17 @@ class MenuModel;
namespace chromeos {
-// DOMUIMenuControl class is used to control the UI counterpart of
-// a MenuModel. One instance of DOMUIMenuControl is created for each
+// WebUIMenuControl class is used to control the UI counterpart of
+// a MenuModel. One instance of WebUIMenuControl is created for each
// MenuModel instance, that is, a submenu will have its own
-// DOMUIMenuControl.
-class DOMUIMenuControl {
+// WebUIMenuControl.
+class WebUIMenuControl {
public:
enum ActivationMode {
ACTIVATE_NO_CLOSE, // Activate the command without closing menu.
CLOSE_AND_ACTIVATE, // Close the menu and then activate the command.
};
- virtual ~DOMUIMenuControl() {}
+ virtual ~WebUIMenuControl() {}
// Returns the MenuModel associated with this control.
virtual ui::MenuModel* GetMenuModel() = 0;
@@ -63,4 +63,4 @@ class DOMUIMenuControl {
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_DOM_UI_DOMUI_MENU_CONTROL_H_
+#endif // CHROME_BROWSER_CHROMEOS_WEBUI_MENU_CONTROL_H_
« no previous file with comments | « chrome/browser/chromeos/views/webui_menu_widget.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698