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

Side by Side Diff: chrome/browser/views/frame/browser_non_client_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) 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_NON_CLIENT_FRAME_VIEW_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_
7 7
8 #include "views/window/non_client_view.h" 8 #include "views/window/non_client_view.h"
9 9
10 class TabStrip; 10 class TabStripWrapper;
11 11
12 // A specialization of the NonClientFrameView object that provides additional 12 // A specialization of the NonClientFrameView object that provides additional
13 // Browser-specific methods. 13 // Browser-specific methods.
14 class BrowserNonClientFrameView : public views::NonClientFrameView { 14 class BrowserNonClientFrameView : public views::NonClientFrameView {
15 public: 15 public:
16 BrowserNonClientFrameView() : NonClientFrameView() {} 16 BrowserNonClientFrameView() : NonClientFrameView() {}
17 virtual ~BrowserNonClientFrameView() {} 17 virtual ~BrowserNonClientFrameView() {}
18 18
19 // Returns the bounds within which the TabStrip should be laid out. 19 // Returns the bounds within which the TabStrip should be laid out.
20 virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const = 0; 20 virtual gfx::Rect GetBoundsForTabStrip(TabStripWrapper* tabstrip) const = 0;
21 21
22 // Updates the throbber. 22 // Updates the throbber.
23 virtual void UpdateThrobber(bool running) = 0; 23 virtual void UpdateThrobber(bool running) = 0;
24 }; 24 };
25 25
26 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ 26 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame_win.cc ('k') | chrome/browser/views/frame/browser_root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698