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

Side by Side Diff: chrome/browser/gtk/standard_menus.h

Issue 244029: GTK: Implement popup favicon menu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/standard_menus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_GTK_STANDARD_MENUS_H_ 5 #ifndef CHROME_BROWSER_GTK_STANDARD_MENUS_H_
6 #define CHROME_BROWSER_GTK_STANDARD_MENUS_H_ 6 #define CHROME_BROWSER_GTK_STANDARD_MENUS_H_
7 7
8 #include "chrome/browser/gtk/menu_gtk.h"
9
8 class Menu; 10 class Menu;
9 class MenuGtk;
10 class Profile; 11 class Profile;
11 12
12 enum MenuItemType { 13 enum MenuItemType {
13 MENU_NORMAL = 0, 14 MENU_NORMAL = 0,
14 MENU_CHECKBOX, 15 MENU_CHECKBOX,
15 MENU_SEPARATOR, 16 MENU_SEPARATOR,
16 MENU_RADIO, 17 MENU_RADIO,
17 18
18 // Speical value to stop processing this MenuCreateMaterial. 19 // Speical value to stop processing this MenuCreateMaterial.
19 MENU_END 20 MENU_END
(...skipping 27 matching lines...) Expand all
47 // the same key combination may be handled by GTK. Windows handles this in 48 // the same key combination may be handled by GTK. Windows handles this in
48 // toolbar_view.cc::GetAcceleratorInfo(). 49 // toolbar_view.cc::GetAcceleratorInfo().
49 bool only_show; 50 bool only_show;
50 51
51 // If non-NULL, specifies a custom submenu to be used. 52 // If non-NULL, specifies a custom submenu to be used.
52 // The menu lifetime must at least match this menu's lifetime. 53 // The menu lifetime must at least match this menu's lifetime.
53 MenuGtk* custom_submenu; 54 MenuGtk* custom_submenu;
54 }; 55 };
55 56
56 // Returns the menu construction data structure for the page menu. 57 // Returns the menu construction data structure for the page menu.
57 const MenuCreateMaterial* GetStandardPageMenu(MenuGtk* encodings_menu); 58 // The parameters are used to construct the encodings menu.
59 const MenuCreateMaterial* GetStandardPageMenu(Profile* profile,
60 MenuGtk::Delegate* delegate);
58 61
59 // Returns the menu construction data structure for the app menu. 62 // Returns the menu construction data structure for the app menu.
60 const MenuCreateMaterial* GetStandardAppMenu(); 63 const MenuCreateMaterial* GetStandardAppMenu();
61 64
62 #endif // CHROME_BROWSER_GTK_STANDARD_MENUS_H_ 65 #endif // CHROME_BROWSER_GTK_STANDARD_MENUS_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/standard_menus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698