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

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

Issue 3167027: Merge 56737 - Fix numerous alignment problems, both horizontal and vertical, ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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) 2010 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_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_
7 7
8 #include "views/window/non_client_view.h" 8 #include "views/window/non_client_view.h"
9 9
10 class BaseTabStrip; 10 class BaseTabStrip;
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(BaseTabStrip* tabstrip) const = 0; 20 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const = 0;
21 21
22 // Returns the y coordinate within the window at which the horizontal TabStrip
23 // begins, or (in vertical tabs mode) would begin. If |restored| is true,
24 // this is calculated as if we were in restored mode regardless of the current
25 // mode. This is used to correctly align theme images.
26 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const = 0;
27
22 // Updates the throbber. 28 // Updates the throbber.
23 virtual void UpdateThrobber(bool running) = 0; 29 virtual void UpdateThrobber(bool running) = 0;
24 }; 30 };
25 31
26 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_ 32 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame_win.cc ('k') | chrome/browser/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698