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_VIEWS_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 virtual void UpdateFrameAfterFrameChange() OVERRIDE; | 55 virtual void UpdateFrameAfterFrameChange() OVERRIDE; |
56 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 56 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
57 virtual void FrameTypeChanged() OVERRIDE; | 57 virtual void FrameTypeChanged() OVERRIDE; |
58 virtual Widget* GetWidget() OVERRIDE; | 58 virtual Widget* GetWidget() OVERRIDE; |
59 virtual const Widget* GetWidget() const OVERRIDE; | 59 virtual const Widget* GetWidget() const OVERRIDE; |
60 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 60 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
61 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 61 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
62 virtual Widget* GetTopLevelWidget() OVERRIDE; | 62 virtual Widget* GetTopLevelWidget() OVERRIDE; |
63 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 63 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
64 virtual ui::Compositor* GetCompositor() OVERRIDE; | 64 virtual ui::Compositor* GetCompositor() OVERRIDE; |
65 virtual void MarkLayerDirty() OVERRIDE; | 65 virtual void CalculateOffsetToAncestorWithLayer( |
66 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, | 66 gfx::Point* offset, |
67 View** ancestor) OVERRIDE; | 67 ui::Layer** layer_parent) OVERRIDE; |
68 virtual void ViewRemoved(View* view) OVERRIDE; | 68 virtual void ViewRemoved(View* view) OVERRIDE; |
69 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; | 69 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; |
70 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; | 70 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; |
71 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 71 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
72 virtual bool IsScreenReaderActive() const OVERRIDE; | 72 virtual bool IsScreenReaderActive() const OVERRIDE; |
73 virtual void SendNativeAccessibilityEvent( | 73 virtual void SendNativeAccessibilityEvent( |
74 View* view, | 74 View* view, |
75 ui::AccessibilityTypes::Event event_type) OVERRIDE; | 75 ui::AccessibilityTypes::Event event_type) OVERRIDE; |
76 virtual void SetMouseCapture() OVERRIDE; | 76 virtual void SetMouseCapture() OVERRIDE; |
77 virtual void ReleaseMouseCapture() OVERRIDE; | 77 virtual void ReleaseMouseCapture() OVERRIDE; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 bool delete_native_view_; | 167 bool delete_native_view_; |
168 | 168 |
169 std::map<const char*, void*> window_properties_; | 169 std::map<const char*, void*> window_properties_; |
170 | 170 |
171 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); | 171 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); |
172 }; | 172 }; |
173 | 173 |
174 } // namespace views | 174 } // namespace views |
175 | 175 |
176 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 176 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
OLD | NEW |