OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
7 | 7 |
8 #include "ui/gfx/native_widget_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
9 #include "ui/views/widget/native_widget_private.h" | 9 #include "ui/views/widget/native_widget_private.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual TooltipManager* GetTooltipManager() const override; | 45 virtual TooltipManager* GetTooltipManager() const override; |
46 virtual void SetCapture() override; | 46 virtual void SetCapture() override; |
47 virtual void ReleaseCapture() override; | 47 virtual void ReleaseCapture() override; |
48 virtual bool HasCapture() const override; | 48 virtual bool HasCapture() const override; |
49 virtual InputMethod* CreateInputMethod() override; | 49 virtual InputMethod* CreateInputMethod() override; |
50 virtual internal::InputMethodDelegate* GetInputMethodDelegate() override; | 50 virtual internal::InputMethodDelegate* GetInputMethodDelegate() override; |
51 virtual ui::InputMethod* GetHostInputMethod() override; | 51 virtual ui::InputMethod* GetHostInputMethod() override; |
52 virtual void CenterWindow(const gfx::Size& size) override; | 52 virtual void CenterWindow(const gfx::Size& size) override; |
53 virtual void GetWindowPlacement( | 53 virtual void GetWindowPlacement( |
54 gfx::Rect* bounds, | 54 gfx::Rect* bounds, |
55 ui::WindowShowState* maximized) const override; | 55 ui::WindowShowState* show_state) const override; |
56 virtual bool SetWindowTitle(const base::string16& title) override; | 56 virtual bool SetWindowTitle(const base::string16& title) override; |
57 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 57 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
58 const gfx::ImageSkia& app_icon) override; | 58 const gfx::ImageSkia& app_icon) override; |
59 virtual void InitModalType(ui::ModalType modal_type) override; | 59 virtual void InitModalType(ui::ModalType modal_type) override; |
60 virtual gfx::Rect GetWindowBoundsInScreen() const override; | 60 virtual gfx::Rect GetWindowBoundsInScreen() const override; |
61 virtual gfx::Rect GetClientAreaBoundsInScreen() const override; | 61 virtual gfx::Rect GetClientAreaBoundsInScreen() const override; |
62 virtual gfx::Rect GetRestoredBounds() const override; | 62 virtual gfx::Rect GetRestoredBounds() const override; |
63 virtual void SetBounds(const gfx::Rect& bounds) override; | 63 virtual void SetBounds(const gfx::Rect& bounds) override; |
64 virtual void SetSize(const gfx::Size& size) override; | 64 virtual void SetSize(const gfx::Size& size) override; |
65 virtual void StackAbove(gfx::NativeView native_view) override; | 65 virtual void StackAbove(gfx::NativeView native_view) override; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 scoped_ptr<BridgedNativeWidget> bridge_; | 122 scoped_ptr<BridgedNativeWidget> bridge_; |
123 | 123 |
124 Widget::InitParams::Ownership ownership_; | 124 Widget::InitParams::Ownership ownership_; |
125 | 125 |
126 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); | 126 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace views | 129 } // namespace views |
130 | 130 |
131 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 131 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
OLD | NEW |