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

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

Issue 1783010: GTK: more signal handler foolproofing. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_actions_toolbar_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ExtensionButtonMap; 177 ExtensionButtonMap;
178 ExtensionButtonMap extension_button_map_; 178 ExtensionButtonMap extension_button_map_;
179 179
180 // We use this animation for the smart resizing of the toolbar. 180 // We use this animation for the smart resizing of the toolbar.
181 SlideAnimation resize_animation_; 181 SlideAnimation resize_animation_;
182 // This is the final width we are animating towards. 182 // This is the final width we are animating towards.
183 int desired_width_; 183 int desired_width_;
184 // This is the width we were at when we started animating. 184 // This is the width we were at when we started animating.
185 int start_width_; 185 int start_width_;
186 186
187 GtkSignalRegistrar signals_;
188
187 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_; 189 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_;
188 190
189 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk); 191 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk);
190 }; 192 };
191 193
192 #endif // CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 194 #endif // CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_actions_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698