OLD | NEW |
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_POPUP_NON_CLIENT_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
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 | 10 |
11 class BaseTabStrip; | 11 class BaseTabStrip; |
(...skipping 11 matching lines...) Expand all Loading... |
23 virtual bool AlwaysUseNativeFrame() const; | 23 virtual bool AlwaysUseNativeFrame() const; |
24 virtual gfx::Rect GetWindowBoundsForClientBounds( | 24 virtual gfx::Rect GetWindowBoundsForClientBounds( |
25 const gfx::Rect& client_bounds) const; | 25 const gfx::Rect& client_bounds) const; |
26 virtual int NonClientHitTest(const gfx::Point& point); | 26 virtual int NonClientHitTest(const gfx::Point& point); |
27 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask); | 27 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask); |
28 virtual void EnableClose(bool enable); | 28 virtual void EnableClose(bool enable); |
29 virtual void ResetWindowControls(); | 29 virtual void ResetWindowControls(); |
30 | 30 |
31 // BrowserNonClientFrameView: | 31 // BrowserNonClientFrameView: |
32 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; | 32 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; |
| 33 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const; |
33 virtual void UpdateThrobber(bool running); | 34 virtual void UpdateThrobber(bool running); |
34 | 35 |
35 private: | 36 private: |
36 DISALLOW_COPY_AND_ASSIGN(PopupNonClientFrameView); | 37 DISALLOW_COPY_AND_ASSIGN(PopupNonClientFrameView); |
37 }; | 38 }; |
38 | 39 |
39 #endif // CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_ | 40 #endif // CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_ |
OLD | NEW |