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

Side by Side Diff: chrome/browser/chromeos/dom_ui/network_menu_ui.h

Issue 3771003: First round UI touch up of DOMUI based network menu. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: sync and try Created 10 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_NETWORK_MENU_UI_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_NETWORK_MENU_UI_H_
6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_NETWORK_MENU_UI_H_ 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_NETWORK_MENU_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/dom_ui/menu_ui.h" 9 #include "chrome/browser/chromeos/dom_ui/menu_ui.h"
10 10
(...skipping 17 matching lines...) Expand all
28 void ModelAction(const menus::MenuModel* model, 28 void ModelAction(const menus::MenuModel* model,
29 const ListValue* values); 29 const ListValue* values);
30 30
31 // MenuUI overrides 31 // MenuUI overrides
32 virtual DictionaryValue* CreateMenuItem(const menus::MenuModel* model, 32 virtual DictionaryValue* CreateMenuItem(const menus::MenuModel* model,
33 int index, 33 int index,
34 const char* type, 34 const char* type,
35 int* max_icon_width, 35 int* max_icon_width,
36 bool* has_accel) const; 36 bool* has_accel) const;
37 virtual void AddCustomConfigValues(DictionaryValue* config) const; 37 virtual void AddCustomConfigValues(DictionaryValue* config) const;
38 virtual void AddLocalizedStrings(DictionaryValue* localized_strings) const;
38 39
39 // A convenient factory method to create Menu2 for the network menu. 40 // A convenient factory method to create Menu2 for the network menu.
40 static views::Menu2* CreateMenu2(menus::MenuModel* model); 41 static views::Menu2* CreateMenu2(menus::MenuModel* model);
41 42
42 private: 43 private:
43 44
44 DISALLOW_COPY_AND_ASSIGN(NetworkMenuUI); 45 DISALLOW_COPY_AND_ASSIGN(NetworkMenuUI);
45 }; 46 };
46 47
47 } // namespace chromeos 48 } // namespace chromeos
48 49
49 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_NETWORK_MENU_UI_H_ 50 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_NETWORK_MENU_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dom_ui/menu_ui.cc ('k') | chrome/browser/chromeos/dom_ui/network_menu_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698