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

Side by Side Diff: chrome/browser/ui/gtk/global_menu_bar.h

Issue 12789006: base/prefs: Remove the public/ directory and move the files to //base/prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/gtk_theme_service.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_GTK_GLOBAL_MENU_BAR_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_GLOBAL_MENU_BAR_H_
6 #define CHROME_BROWSER_UI_GTK_GLOBAL_MENU_BAR_H_ 6 #define CHROME_BROWSER_UI_GTK_GLOBAL_MENU_BAR_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/prefs/public/pref_change_registrar.h" 11 #include "base/prefs/pref_change_registrar.h"
12 #include "chrome/browser/command_observer.h" 12 #include "chrome/browser/command_observer.h"
13 #include "chrome/browser/ui/gtk/global_history_menu.h" 13 #include "chrome/browser/ui/gtk/global_history_menu.h"
14 #include "ui/base/gtk/gtk_signal.h" 14 #include "ui/base/gtk/gtk_signal.h"
15 #include "ui/base/gtk/owned_widget_gtk.h" 15 #include "ui/base/gtk/owned_widget_gtk.h"
16 16
17 class Browser; 17 class Browser;
18 struct GlobalMenuBarCommand; 18 struct GlobalMenuBarCommand;
19 class GlobalMenuOwner; 19 class GlobalMenuOwner;
20 20
21 typedef struct _GtkAccelGroup GtkAccelGroup; 21 typedef struct _GtkAccelGroup GtkAccelGroup;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // A mapping from command ids to GtkMenuItem objects. We use this to update 91 // A mapping from command ids to GtkMenuItem objects. We use this to update
92 // the command enable state. 92 // the command enable state.
93 CommandIDMenuItemMap id_to_menu_item_; 93 CommandIDMenuItemMap id_to_menu_item_;
94 94
95 // gtk_check_menu_item_set_active() will call the "activate" signal. We need 95 // gtk_check_menu_item_set_active() will call the "activate" signal. We need
96 // to block this activation while we change the checked state. 96 // to block this activation while we change the checked state.
97 bool block_activation_; 97 bool block_activation_;
98 }; 98 };
99 99
100 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_MENU_BAR_H_ 100 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_MENU_BAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/gtk_theme_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698