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

Unified Diff: chrome/browser/chromeos/webui/wrench_menu_ui.h

Issue 6693032: Remove WebUI menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 9 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/webui/network_menu_ui.cc ('k') | chrome/browser/chromeos/webui/wrench_menu_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/webui/wrench_menu_ui.h
diff --git a/chrome/browser/chromeos/webui/wrench_menu_ui.h b/chrome/browser/chromeos/webui/wrench_menu_ui.h
deleted file mode 100644
index a18ba8c161bd0aea8dae8ae9ff3e74e879fc8d65..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/webui/wrench_menu_ui.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// 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_WEBUI_WRENCH_MENU_UI_H_
-#define CHROME_BROWSER_CHROMEOS_WEBUI_WRENCH_MENU_UI_H_
-#pragma once
-
-#include "chrome/browser/chromeos/webui/menu_ui.h"
-#include "content/common/notification_observer.h"
-#include "content/common/notification_registrar.h"
-#include "content/common/notification_type.h"
-
-class NotificationSource;
-class NotificationDetails;
-
-namespace ui {
-class MenuModel;
-} // namespace ui
-
-namespace views {
-class Menu2;
-} // namespace views
-
-namespace chromeos {
-
-class WrenchMenuUI : public MenuUI,
- public NotificationObserver {
- public:
- explicit WrenchMenuUI(TabContents* contents);
-
- // MenuUI overrides:
- virtual void ModelUpdated(const ui::MenuModel* new_model);
-
- // NotificationObserver:
- virtual void Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details);
-
- // Updates zoom controls to reflect the current zooming state.
- void UpdateZoomControls();
-
- // A convenient factory method to create Menu2 for wrench menu.
- static views::Menu2* CreateMenu2(ui::MenuModel* model);
-
- private:
- NotificationRegistrar registrar_;
-
- DISALLOW_COPY_AND_ASSIGN(WrenchMenuUI);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_WEBUI_WRENCH_MENU_UI_H_
« no previous file with comments | « chrome/browser/chromeos/webui/network_menu_ui.cc ('k') | chrome/browser/chromeos/webui/wrench_menu_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698