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

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

Issue 155242: Add temporary TabStripWrapper interface that is implemented by both TabStrip ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_GLASS_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
7 7
8 #include "chrome/browser/views/frame/browser_frame_win.h" 8 #include "chrome/browser/views/frame/browser_frame_win.h"
9 #include "chrome/browser/views/frame/browser_non_client_frame_view.h" 9 #include "chrome/browser/views/frame/browser_non_client_frame_view.h"
10 #include "views/controls/button/button.h" 10 #include "views/controls/button/button.h"
11 #include "views/window/non_client_view.h" 11 #include "views/window/non_client_view.h"
12 12
13 class BrowserView; 13 class BrowserView;
14 class SkBitmap; 14 class SkBitmap;
15 15
16 class GlassBrowserFrameView : public BrowserNonClientFrameView { 16 class GlassBrowserFrameView : public BrowserNonClientFrameView {
17 public: 17 public:
18 // Constructs a non-client view for an BrowserFrame. 18 // Constructs a non-client view for an BrowserFrame.
19 GlassBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); 19 GlassBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
20 virtual ~GlassBrowserFrameView(); 20 virtual ~GlassBrowserFrameView();
21 21
22 // Overridden from BrowserNonClientFrameView: 22 // Overridden from BrowserNonClientFrameView:
23 virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; 23 virtual gfx::Rect GetBoundsForTabStrip(TabStripWrapper* tabstrip) const;
24 virtual void UpdateThrobber(bool running); 24 virtual void UpdateThrobber(bool running);
25 25
26 // Overridden from views::NonClientFrameView: 26 // Overridden from views::NonClientFrameView:
27 virtual gfx::Rect GetBoundsForClientView() const; 27 virtual gfx::Rect GetBoundsForClientView() const;
28 virtual gfx::Rect GetWindowBoundsForClientBounds( 28 virtual gfx::Rect GetWindowBoundsForClientBounds(
29 const gfx::Rect& client_bounds) const; 29 const gfx::Rect& client_bounds) const;
30 virtual gfx::Point GetSystemMenuPoint() const; 30 virtual gfx::Point GetSystemMenuPoint() const;
31 virtual int NonClientHitTest(const gfx::Point& point); 31 virtual int NonClientHitTest(const gfx::Point& point);
32 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) { } 32 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) { }
33 virtual void EnableClose(bool enable) { } 33 virtual void EnableClose(bool enable) { }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 static SkBitmap* distributor_logo_; 97 static SkBitmap* distributor_logo_;
98 98
99 static const int kThrobberIconCount = 24; 99 static const int kThrobberIconCount = 24;
100 static HICON throbber_icons_[kThrobberIconCount]; 100 static HICON throbber_icons_[kThrobberIconCount];
101 static void InitThrobberIcons(); 101 static void InitThrobberIcons();
102 102
103 DISALLOW_EVIL_CONSTRUCTORS(GlassBrowserFrameView); 103 DISALLOW_EVIL_CONSTRUCTORS(GlassBrowserFrameView);
104 }; 104 };
105 105
106 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ 106 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/frame/glass_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698