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

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

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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_titlebar.cc ('k') | chrome/browser/ui/gtk/bubble/bubble_gtk.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_TOOLBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <string> 10 #include <string>
(...skipping 25 matching lines...) Expand all
36 class TabContents; 36 class TabContents;
37 class ToolbarModel; 37 class ToolbarModel;
38 38
39 // View class that displays the GTK version of the toolbar and routes gtk 39 // View class that displays the GTK version of the toolbar and routes gtk
40 // events back to the Browser. 40 // events back to the Browser.
41 class BrowserToolbarGtk : public CommandUpdater::CommandObserver, 41 class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
42 public ui::AcceleratorProvider, 42 public ui::AcceleratorProvider,
43 public MenuGtk::Delegate, 43 public MenuGtk::Delegate,
44 public NotificationObserver { 44 public NotificationObserver {
45 public: 45 public:
46 explicit BrowserToolbarGtk(Browser* browser, BrowserWindowGtk* window); 46 BrowserToolbarGtk(Browser* browser, BrowserWindowGtk* window);
47 virtual ~BrowserToolbarGtk(); 47 virtual ~BrowserToolbarGtk();
48 48
49 // Create the contents of the toolbar. |top_level_window| is the GtkWindow 49 // Create the contents of the toolbar. |top_level_window| is the GtkWindow
50 // to which we attach our accelerators. 50 // to which we attach our accelerators.
51 void Init(Profile* profile, GtkWindow* top_level_window); 51 void Init(Profile* profile, GtkWindow* top_level_window);
52 52
53 // Set the various widgets' ViewIDs. 53 // Set the various widgets' ViewIDs.
54 void SetViewIDs(); 54 void SetViewIDs();
55 55
56 void Show(); 56 void Show();
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // rendering. 209 // rendering.
210 OwnedWidgetGtk offscreen_entry_; 210 OwnedWidgetGtk offscreen_entry_;
211 211
212 // Manages the home button drop signal handler. 212 // Manages the home button drop signal handler.
213 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_; 213 scoped_ptr<ui::GtkSignalRegistrar> drop_handler_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk); 215 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarGtk);
216 }; 216 };
217 217
218 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_ 218 #endif // CHROME_BROWSER_UI_GTK_BROWSER_TOOLBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/gtk/bubble/bubble_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698