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

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

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 6 #define CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 Browser* browser() { return browser_; } 55 Browser* browser() { return browser_; }
56 56
57 // Returns the currently selected tab ID, or -1 if there is none. 57 // Returns the currently selected tab ID, or -1 if there is none.
58 int GetCurrentTabId(); 58 int GetCurrentTabId();
59 59
60 // Update the display of all buttons. 60 // Update the display of all buttons.
61 void Update(); 61 void Update();
62 62
63 // NotificationObserver implementation. 63 // NotificationObserver implementation.
64 void Observe(NotificationType type, 64 virtual void Observe(NotificationType type,
65 const NotificationSource& source, 65 const NotificationSource& source,
66 const NotificationDetails& details); 66 const NotificationDetails& details);
67 67
68 bool animating() { 68 bool animating() {
69 return resize_animation_.is_animating(); 69 return resize_animation_.is_animating();
70 } 70 }
71 71
72 private: 72 private:
73 friend class BrowserActionButton; 73 friend class BrowserActionButton;
74 74
75 // Initialize drag and drop. 75 // Initialize drag and drop.
76 void SetupDrags(); 76 void SetupDrags();
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 GtkSignalRegistrar signals_; 216 GtkSignalRegistrar signals_;
217 217
218 NotificationRegistrar registrar_; 218 NotificationRegistrar registrar_;
219 219
220 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_; 220 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_;
221 221
222 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk); 222 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk);
223 }; 223 };
224 224
225 #endif // CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 225 #endif // CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/sandboxed_extension_unpacker.h ('k') | chrome/browser/gtk/browser_toolbar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698