OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ |
7 | 7 |
8 class BrowserFrame; | 8 class BrowserFrame; |
9 class BrowserView; | 9 class BrowserView; |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 // Returns true if the OS takes care of showing the system menu. Returning | 22 // Returns true if the OS takes care of showing the system menu. Returning |
23 // false means BrowserFrame handles showing the system menu. | 23 // false means BrowserFrame handles showing the system menu. |
24 virtual bool UsesNativeSystemMenu() const = 0; | 24 virtual bool UsesNativeSystemMenu() const = 0; |
25 | 25 |
26 protected: | 26 protected: |
27 friend class BrowserFrame; | 27 friend class BrowserFrame; |
28 | 28 |
29 // BrowserFrame pass-thrus --------------------------------------------------- | 29 // BrowserFrame pass-thrus --------------------------------------------------- |
30 // See browser_frame.h for documentation: | 30 // See browser_frame.h for documentation: |
31 virtual int GetMinimizeButtonOffset() const = 0; | 31 virtual int GetMinimizeButtonOffset() const = 0; |
32 // TODO(beng): replace with some kind of "framechanged" signal to Window. | |
33 virtual void TabStripDisplayModeChanged() = 0; | |
34 }; | 32 }; |
35 | 33 |
36 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ | 34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ |
OLD | NEW |