| 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 16 matching lines...) Expand all Loading... |
| 27 // internal::NativeWidgetPrivate: | 27 // internal::NativeWidgetPrivate: |
| 28 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; | 28 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; |
| 29 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 29 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
| 30 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 30 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
| 31 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; | 31 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; |
| 32 virtual void FrameTypeChanged() OVERRIDE; | 32 virtual void FrameTypeChanged() OVERRIDE; |
| 33 virtual Widget* GetWidget() OVERRIDE; | 33 virtual Widget* GetWidget() OVERRIDE; |
| 34 virtual const Widget* GetWidget() const OVERRIDE; | 34 virtual const Widget* GetWidget() const OVERRIDE; |
| 35 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 35 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 36 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 36 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| 37 virtual gfx::NativeViewAccessible GetNativeViewAccessible() const OVERRIDE; |
| 37 virtual Widget* GetTopLevelWidget() OVERRIDE; | 38 virtual Widget* GetTopLevelWidget() OVERRIDE; |
| 38 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 39 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
| 39 virtual ui::Compositor* GetCompositor() OVERRIDE; | 40 virtual ui::Compositor* GetCompositor() OVERRIDE; |
| 40 virtual ui::Layer* GetLayer() OVERRIDE; | 41 virtual ui::Layer* GetLayer() OVERRIDE; |
| 41 virtual void ReorderNativeViews() OVERRIDE; | 42 virtual void ReorderNativeViews() OVERRIDE; |
| 42 virtual void ViewRemoved(View* view) OVERRIDE; | 43 virtual void ViewRemoved(View* view) OVERRIDE; |
| 43 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; | 44 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; |
| 44 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; | 45 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; |
| 45 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 46 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
| 46 virtual void SetCapture() OVERRIDE; | 47 virtual void SetCapture() OVERRIDE; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 scoped_ptr<BridgedNativeWidget> bridge_; | 122 scoped_ptr<BridgedNativeWidget> bridge_; |
| 122 | 123 |
| 123 Widget::InitParams::Ownership ownership_; | 124 Widget::InitParams::Ownership ownership_; |
| 124 | 125 |
| 125 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); | 126 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); |
| 126 }; | 127 }; |
| 127 | 128 |
| 128 } // namespace views | 129 } // namespace views |
| 129 | 130 |
| 130 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 131 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
| OLD | NEW |