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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 ExtensionButtonMap; | 188 ExtensionButtonMap; |
189 ExtensionButtonMap extension_button_map_; | 189 ExtensionButtonMap extension_button_map_; |
190 | 190 |
191 // We use this animation for the smart resizing of the toolbar. | 191 // We use this animation for the smart resizing of the toolbar. |
192 SlideAnimation resize_animation_; | 192 SlideAnimation resize_animation_; |
193 // This is the final width we are animating towards. | 193 // This is the final width we are animating towards. |
194 int desired_width_; | 194 int desired_width_; |
195 // This is the width we were at when we started animating. | 195 // This is the width we were at when we started animating. |
196 int start_width_; | 196 int start_width_; |
197 | 197 |
198 // We only draw the browser action gripper when the user is hovering over it | |
199 // or dragging it. | |
200 bool draw_gripper_; | |
201 | |
202 GtkSignalRegistrar signals_; | 198 GtkSignalRegistrar signals_; |
203 | 199 |
204 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_; | 200 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_; |
205 | 201 |
206 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk); | 202 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk); |
207 }; | 203 }; |
208 | 204 |
209 #endif // CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ | 205 #endif // CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ |
OLD | NEW |