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

Unified Diff: chrome/browser/chromeos/webui/network_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/menu_ui.cc ('k') | chrome/browser/chromeos/webui/network_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/network_menu_ui.h
diff --git a/chrome/browser/chromeos/webui/network_menu_ui.h b/chrome/browser/chromeos/webui/network_menu_ui.h
deleted file mode 100644
index 51bf0fa105ddae79f7af2b6f0f983b6a77cfd040..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/webui/network_menu_ui.h
+++ /dev/null
@@ -1,49 +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_NETWORK_MENU_UI_H_
-#define CHROME_BROWSER_CHROMEOS_WEBUI_NETWORK_MENU_UI_H_
-#pragma once
-
-#include "chrome/browser/chromeos/webui/menu_ui.h"
-
-namespace ui {
-class MenuModel;
-} // namespace ui
-
-namespace views {
-class Menu2;
-} // namespace views
-
-namespace chromeos {
-
-class NetworkMenuUI : public MenuUI {
- public:
- explicit NetworkMenuUI(TabContents* contents);
-
- // A callback method that is invoked when the JavaScript wants
- // to invoke an action in the model.
- // By convention the first member of 'values' describes the action.
- // Returns true if the menu should be closed.
- bool ModelAction(const ui::MenuModel* model,
- const ListValue* values);
-
- // MenuUI overrides
- virtual DictionaryValue* CreateMenuItem(const ui::MenuModel* model,
- int index,
- const char* type,
- int* max_icon_width,
- bool* has_accel) const;
-
- // A convenient factory method to create Menu2 for the network menu.
- static views::Menu2* CreateMenu2(ui::MenuModel* model);
-
- private:
-
- DISALLOW_COPY_AND_ASSIGN(NetworkMenuUI);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_WEBUI_NETWORK_MENU_UI_H_
« no previous file with comments | « chrome/browser/chromeos/webui/menu_ui.cc ('k') | chrome/browser/chromeos/webui/network_menu_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698