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

Side by Side Diff: chrome/browser/gtk/tabs/tab_strip_gtk.h

Issue 100106: Fullscreen mode for Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_strip_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_TABS_TAB_STRIP_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
6 #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 6 #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 class TabAnimation; 22 class TabAnimation;
23 23
24 explicit TabStripGtk(TabStripModel* model); 24 explicit TabStripGtk(TabStripModel* model);
25 virtual ~TabStripGtk(); 25 virtual ~TabStripGtk();
26 26
27 // Initialize and load the TabStrip into a container. 27 // Initialize and load the TabStrip into a container.
28 void Init(); 28 void Init();
29 void AddTabStripToBox(GtkWidget* box); 29 void AddTabStripToBox(GtkWidget* box);
30 30
31 void Show();
32 void Hide();
33
31 TabStripModel* model() const { return model_; } 34 TabStripModel* model() const { return model_; }
32 35
33 // Sets the bounds of the tabs. 36 // Sets the bounds of the tabs.
34 void Layout(); 37 void Layout();
35 38
36 // Sets the bounds of the tabstrip. 39 // Sets the bounds of the tabstrip.
37 void SetBounds(const gfx::Rect& bounds) { bounds_ = bounds; } 40 void SetBounds(const gfx::Rect& bounds) { bounds_ = bounds; }
38 41
39 // Updates loading animations for the TabStrip. 42 // Updates loading animations for the TabStrip.
40 void UpdateLoadingAnimations(); 43 void UpdateLoadingAnimations();
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // will be snapped back to when the drag is released. 297 // will be snapped back to when the drag is released.
295 gfx::Rect snap_bounds_; 298 gfx::Rect snap_bounds_;
296 299
297 // When a tab is being dragged, certain gtk events should be ignored. 300 // When a tab is being dragged, certain gtk events should be ignored.
298 bool is_dragging_; 301 bool is_dragging_;
299 302
300 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); 303 DISALLOW_COPY_AND_ASSIGN(TabStripGtk);
301 }; 304 };
302 305
303 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 306 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698