| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |