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

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

Issue 2861040: Hide the browser actions gripper when it's not in use. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix fixme Created 10 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
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
198 GtkSignalRegistrar signals_; 202 GtkSignalRegistrar signals_;
199 203
200 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_; 204 ScopedRunnableMethodFactory<BrowserActionsToolbarGtk> method_factory_;
201 205
202 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk); 206 DISALLOW_COPY_AND_ASSIGN(BrowserActionsToolbarGtk);
203 }; 207 };
204 208
205 #endif // CHROME_BROWSER_GTK_BROWSER_ACTIONS_TOOLBAR_GTK_H_ 209 #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') | chrome/browser/gtk/browser_actions_toolbar_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698