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 UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 72 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
73 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 73 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
74 virtual void FrameTypeChanged() OVERRIDE; | 74 virtual void FrameTypeChanged() OVERRIDE; |
75 virtual Widget* GetWidget() OVERRIDE; | 75 virtual Widget* GetWidget() OVERRIDE; |
76 virtual const Widget* GetWidget() const OVERRIDE; | 76 virtual const Widget* GetWidget() const OVERRIDE; |
77 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 77 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
78 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 78 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
79 virtual Widget* GetTopLevelWidget() OVERRIDE; | 79 virtual Widget* GetTopLevelWidget() OVERRIDE; |
80 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 80 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
81 virtual ui::Compositor* GetCompositor() OVERRIDE; | 81 virtual ui::Compositor* GetCompositor() OVERRIDE; |
82 virtual gfx::Vector2d CalculateOffsetToAncestorWithLayer( | 82 virtual ui::Layer* GetLayer() OVERRIDE; |
83 ui::Layer** layer_parent) OVERRIDE; | |
84 virtual void ViewRemoved(View* view) OVERRIDE; | 83 virtual void ViewRemoved(View* view) OVERRIDE; |
85 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; | 84 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; |
86 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; | 85 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; |
87 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 86 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
88 virtual void SetCapture() OVERRIDE; | 87 virtual void SetCapture() OVERRIDE; |
89 virtual void ReleaseCapture() OVERRIDE; | 88 virtual void ReleaseCapture() OVERRIDE; |
90 virtual bool HasCapture() const OVERRIDE; | 89 virtual bool HasCapture() const OVERRIDE; |
91 virtual InputMethod* CreateInputMethod() OVERRIDE; | 90 virtual InputMethod* CreateInputMethod() OVERRIDE; |
92 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; | 91 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; |
93 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; | 92 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 bool has_non_client_view_; | 260 bool has_non_client_view_; |
262 | 261 |
263 scoped_ptr<HWNDMessageHandler> message_handler_; | 262 scoped_ptr<HWNDMessageHandler> message_handler_; |
264 | 263 |
265 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 264 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
266 }; | 265 }; |
267 | 266 |
268 } // namespace views | 267 } // namespace views |
269 | 268 |
270 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 269 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |