| 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 #include "ui/base/ui_base_types.h" | 8 #include "ui/base/ui_base_types.h" |
| 9 #include "ui/gfx/geometry/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
| 10 #include "ui/views/widget/widget.h" | 10 #include "ui/views/widget/widget.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 // Returns true if the |event| was handled by the platform implementation. | 43 // Returns true if the |event| was handled by the platform implementation. |
| 44 virtual bool HandleKeyboardEvent( | 44 virtual bool HandleKeyboardEvent( |
| 45 const content::NativeWebKeyboardEvent& event) = 0; | 45 const content::NativeWebKeyboardEvent& event) = 0; |
| 46 | 46 |
| 47 protected: | 47 protected: |
| 48 friend class BrowserFrame; | 48 friend class BrowserFrame; |
| 49 | 49 |
| 50 // BrowserFrame pass-thrus --------------------------------------------------- | 50 // BrowserFrame pass-thrus --------------------------------------------------- |
| 51 // See browser_frame.h for documentation: | 51 // See browser_frame.h for documentation: |
| 52 virtual int GetMinimizeButtonOffset() const = 0; | 52 virtual int GetMinimizeButtonOffset() const = 0; |
| 53 virtual int GetMinimizeButtonHeight() const = 0; |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ | 56 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ |
| OLD | NEW |