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

Side by Side Diff: chrome/browser/views/frame/browser_frame_gtk.h

Issue 1001003: Allow dynamic switching in and out of sidetabs mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
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_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/views/frame/browser_frame.h" 9 #include "chrome/browser/views/frame/browser_frame.h"
10 #include "views/window/window_gtk.h" 10 #include "views/window/window_gtk.h"
(...skipping 10 matching lines...) Expand all
21 virtual ~BrowserFrameGtk(); 21 virtual ~BrowserFrameGtk();
22 22
23 // Creates a frame view and initializes the window. This 23 // Creates a frame view and initializes the window. This
24 // initialization function must be called after construction, it is 24 // initialization function must be called after construction, it is
25 // separate to avoid recursive calling of the frame from its 25 // separate to avoid recursive calling of the frame from its
26 // constructor. 26 // constructor.
27 virtual void Init(); 27 virtual void Init();
28 28
29 // Overridden from BrowserFrame: 29 // Overridden from BrowserFrame:
30 virtual views::Window* GetWindow(); 30 virtual views::Window* GetWindow();
31 virtual void TabStripCreated(BaseTabStrip* tabstrip);
32 virtual int GetMinimizeButtonOffset() const; 31 virtual int GetMinimizeButtonOffset() const;
33 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; 32 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const;
34 virtual void UpdateThrobber(bool running); 33 virtual void UpdateThrobber(bool running);
35 virtual void ContinueDraggingDetachedTab(); 34 virtual void ContinueDraggingDetachedTab();
36 virtual ThemeProvider* GetThemeProviderForFrame() const; 35 virtual ThemeProvider* GetThemeProviderForFrame() const;
37 virtual bool AlwaysUseNativeFrame() const; 36 virtual bool AlwaysUseNativeFrame() const;
38 virtual views::View* GetFrameView() const; 37 virtual views::View* GetFrameView() const;
39 virtual void PaintTabStripShadow(gfx::Canvas* canvas); 38 virtual void PaintTabStripShadow(gfx::Canvas* canvas);
39 virtual void TabStripDisplayModeChanged();
40 40
41 // Overridden from views::Widget: 41 // Overridden from views::Widget:
42 virtual ThemeProvider* GetThemeProvider() const; 42 virtual ThemeProvider* GetThemeProvider() const;
43 virtual ThemeProvider* GetDefaultThemeProvider() const; 43 virtual ThemeProvider* GetDefaultThemeProvider() const;
44 virtual void IsActiveChanged(); 44 virtual void IsActiveChanged();
45 virtual void SetInitialFocus(); 45 virtual void SetInitialFocus();
46 46
47 protected: 47 protected:
48 void set_browser_frame_view(BrowserNonClientFrameView* browser_frame_view) { 48 void set_browser_frame_view(BrowserNonClientFrameView* browser_frame_view) {
49 browser_frame_view_ = browser_frame_view; 49 browser_frame_view_ = browser_frame_view;
(...skipping 25 matching lines...) Expand all
75 // a copy as a BrowserRootView to avoid evil casting later, when we need to 75 // a copy as a BrowserRootView to avoid evil casting later, when we need to
76 // call functions that only exist on BrowserRootView (versus RootView). 76 // call functions that only exist on BrowserRootView (versus RootView).
77 BrowserRootView* root_view_; 77 BrowserRootView* root_view_;
78 78
79 Profile* profile_; 79 Profile* profile_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); 81 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk);
82 }; 82 };
83 83
84 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ 84 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698