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

Side by Side Diff: chrome/browser/views/frame/opaque_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_OPAQUE_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
7 7
8 #include "chrome/browser/views/frame/browser_frame.h" 8 #include "chrome/browser/views/frame/browser_frame.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 "chrome/browser/views/tab_icon_view.h" 10 #include "chrome/browser/views/tab_icon_view.h"
(...skipping 14 matching lines...) Expand all
25 public views::ButtonListener, 25 public views::ButtonListener,
26 public TabIconView::TabIconViewModel { 26 public TabIconView::TabIconViewModel {
27 public: 27 public:
28 // Constructs a non-client view for an BrowserFrame. |is_otr| specifies if the 28 // Constructs a non-client view for an BrowserFrame. |is_otr| specifies if the
29 // frame was created "off-the-record" and as such different bitmaps should be 29 // frame was created "off-the-record" and as such different bitmaps should be
30 // used to render the frame. 30 // used to render the frame.
31 OpaqueBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); 31 OpaqueBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
32 virtual ~OpaqueBrowserFrameView(); 32 virtual ~OpaqueBrowserFrameView();
33 33
34 // Overridden from BrowserNonClientFrameView: 34 // Overridden from BrowserNonClientFrameView:
35 virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; 35 virtual gfx::Rect GetBoundsForTabStrip(TabStripWrapper* tabstrip) const;
36 virtual void UpdateThrobber(bool running); 36 virtual void UpdateThrobber(bool running);
37 virtual gfx::Size GetMinimumSize(); 37 virtual gfx::Size GetMinimumSize();
38 38
39 protected: 39 protected:
40 // Overridden from views::NonClientFrameView: 40 // Overridden from views::NonClientFrameView:
41 virtual gfx::Rect GetBoundsForClientView() const; 41 virtual gfx::Rect GetBoundsForClientView() const;
42 virtual gfx::Rect GetWindowBoundsForClientBounds( 42 virtual gfx::Rect GetWindowBoundsForClientBounds(
43 const gfx::Rect& client_bounds) const; 43 const gfx::Rect& client_bounds) const;
44 virtual gfx::Point GetSystemMenuPoint() const; 44 virtual gfx::Point GetSystemMenuPoint() const;
45 virtual int NonClientHitTest(const gfx::Point& point); 45 virtual int NonClientHitTest(const gfx::Point& point);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 static void InitClass(); 153 static void InitClass();
154 static void InitAppWindowResources(); 154 static void InitAppWindowResources();
155 static SkBitmap* distributor_logo_; 155 static SkBitmap* distributor_logo_;
156 static gfx::Font* title_font_; 156 static gfx::Font* title_font_;
157 157
158 DISALLOW_EVIL_CONSTRUCTORS(OpaqueBrowserFrameView); 158 DISALLOW_EVIL_CONSTRUCTORS(OpaqueBrowserFrameView);
159 }; 159 };
160 160
161 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 161 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/glass_browser_frame_view.cc ('k') | chrome/browser/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698