OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_FRAME_MUS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/ui/views/frame/native_browser_frame.h" | 9 #include "chrome/browser/ui/views/frame/native_browser_frame.h" |
10 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 10 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 bool UseCustomFrame() const override; | 24 bool UseCustomFrame() const override; |
25 bool UsesNativeSystemMenu() const override; | 25 bool UsesNativeSystemMenu() const override; |
26 bool ShouldSaveWindowPlacement() const override; | 26 bool ShouldSaveWindowPlacement() const override; |
27 void GetWindowPlacement(gfx::Rect* bounds, | 27 void GetWindowPlacement(gfx::Rect* bounds, |
28 ui::WindowShowState* show_state) const override; | 28 ui::WindowShowState* show_state) const override; |
29 bool PreHandleKeyboardEvent( | 29 bool PreHandleKeyboardEvent( |
30 const content::NativeWebKeyboardEvent& event) override; | 30 const content::NativeWebKeyboardEvent& event) override; |
31 bool HandleKeyboardEvent( | 31 bool HandleKeyboardEvent( |
32 const content::NativeWebKeyboardEvent& event) override; | 32 const content::NativeWebKeyboardEvent& event) override; |
33 int GetMinimizeButtonOffset() const override; | 33 int GetMinimizeButtonOffset() const override; |
| 34 int GetMinimizeButtonHeight() const override; |
34 | 35 |
35 BrowserFrame* browser_frame_; | 36 BrowserFrame* browser_frame_; |
36 BrowserView* browser_view_; | 37 BrowserView* browser_view_; |
37 | 38 |
38 DISALLOW_COPY_AND_ASSIGN(BrowserFrameMus); | 39 DISALLOW_COPY_AND_ASSIGN(BrowserFrameMus); |
39 }; | 40 }; |
40 | 41 |
41 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ | 42 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ |
OLD | NEW |