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

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

Issue 3052011: Make the resize gripper invisible.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « app/resources/resize_gripper.png ('k') | 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...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
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_
OLDNEW
« no previous file with comments | « app/resources/resize_gripper.png ('k') | chrome/browser/gtk/browser_actions_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698