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

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

Issue 10413012: Cleanup: Remove unneeded scoped_ptr.h includes from chrome/browser/ui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 7 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) 2011 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/memory/scoped_ptr.h"
12 #include "chrome/browser/command_updater.h" 11 #include "chrome/browser/command_updater.h"
13 #include "chrome/browser/prefs/pref_change_registrar.h" 12 #include "chrome/browser/prefs/pref_change_registrar.h"
14 #include "chrome/browser/ui/gtk/global_history_menu.h" 13 #include "chrome/browser/ui/gtk/global_history_menu.h"
15 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
16 #include "ui/base/gtk/gtk_signal.h" 15 #include "ui/base/gtk/gtk_signal.h"
17 #include "ui/base/gtk/owned_widget_gtk.h" 16 #include "ui/base/gtk/owned_widget_gtk.h"
18 17
19 class Browser; 18 class Browser;
20 struct GlobalMenuBarCommand; 19 struct GlobalMenuBarCommand;
21 class GlobalMenuOwner; 20 class GlobalMenuOwner;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // A mapping from command ids to GtkMenuItem objects. We use this to update 98 // A mapping from command ids to GtkMenuItem objects. We use this to update
100 // the command enable state. 99 // the command enable state.
101 CommandIDMenuItemMap id_to_menu_item_; 100 CommandIDMenuItemMap id_to_menu_item_;
102 101
103 // gtk_check_menu_item_set_active() will call the "activate" signal. We need 102 // gtk_check_menu_item_set_active() will call the "activate" signal. We need
104 // to block this activation while we change the checked state. 103 // to block this activation while we change the checked state.
105 bool block_activation_; 104 bool block_activation_;
106 }; 105 };
107 106
108 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_MENU_BAR_H_ 107 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_MENU_BAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen_exit_bubble.h ('k') | chrome/browser/ui/gtk/tabs/dragged_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698