OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "aura/window_delegate.h" | 9 #include "aura/window_delegate.h" |
10 #include "views/widget/native_widget_private.h" | 10 #include "views/widget/native_widget_private.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 32 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
33 virtual void FrameTypeChanged() OVERRIDE; | 33 virtual void FrameTypeChanged() OVERRIDE; |
34 virtual Widget* GetWidget() OVERRIDE; | 34 virtual Widget* GetWidget() OVERRIDE; |
35 virtual const Widget* GetWidget() const OVERRIDE; | 35 virtual const Widget* GetWidget() const OVERRIDE; |
36 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 36 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
37 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 37 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
38 virtual Widget* GetTopLevelWidget() OVERRIDE; | 38 virtual Widget* GetTopLevelWidget() OVERRIDE; |
39 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 39 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
40 virtual ui::Compositor* GetCompositor() OVERRIDE; | 40 virtual ui::Compositor* GetCompositor() OVERRIDE; |
41 virtual void MarkLayerDirty() OVERRIDE; | 41 virtual void MarkLayerDirty() OVERRIDE; |
42 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, | 42 virtual void CalculateOffsetToAncestorWithLayer( |
43 View** ancestor) OVERRIDE; | 43 gfx::Point* offset, |
| 44 ui::Layer** layer_parent) OVERRIDE; |
44 virtual void ViewRemoved(View* view) OVERRIDE; | 45 virtual void ViewRemoved(View* view) OVERRIDE; |
45 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; | 46 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; |
46 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; | 47 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; |
47 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 48 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
48 virtual bool IsScreenReaderActive() const OVERRIDE; | 49 virtual bool IsScreenReaderActive() const OVERRIDE; |
49 virtual void SendNativeAccessibilityEvent( | 50 virtual void SendNativeAccessibilityEvent( |
50 View* view, | 51 View* view, |
51 ui::AccessibilityTypes::Event event_type) OVERRIDE; | 52 ui::AccessibilityTypes::Event event_type) OVERRIDE; |
52 virtual void SetMouseCapture() OVERRIDE; | 53 virtual void SetMouseCapture() OVERRIDE; |
53 virtual void ReleaseMouseCapture() OVERRIDE; | 54 virtual void ReleaseMouseCapture() OVERRIDE; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 126 |
126 // See class documentation for Widget in widget.h for a note about ownership. | 127 // See class documentation for Widget in widget.h for a note about ownership. |
127 Widget::InitParams::Ownership ownership_; | 128 Widget::InitParams::Ownership ownership_; |
128 | 129 |
129 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 130 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
130 }; | 131 }; |
131 | 132 |
132 } // namespace views | 133 } // namespace views |
133 | 134 |
134 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 135 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |