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_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "ui/aura/window_delegate.h" | 8 #include "ui/aura/window_delegate.h" |
9 #include "ui/views/widget/native_widget_private.h" | 9 #include "ui/views/widget/native_widget_private.h" |
10 #include "ui/views/widget/widget.h" | 10 #include "ui/views/widget/widget.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual void OnWindowDestroying() OVERRIDE; | 124 virtual void OnWindowDestroying() OVERRIDE; |
125 virtual void OnWindowDestroyed() OVERRIDE; | 125 virtual void OnWindowDestroyed() OVERRIDE; |
126 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; | 126 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
127 virtual bool HasHitTestMask() const OVERRIDE; | 127 virtual bool HasHitTestMask() const OVERRIDE; |
128 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 128 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
129 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; | 129 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; |
130 | 130 |
131 // Overridden from ui::EventHandler: | 131 // Overridden from ui::EventHandler: |
132 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 132 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
133 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 133 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
134 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 134 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
135 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 135 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
136 | 136 |
137 private: | 137 private: |
138 // Ownership passed to RootWindow on Init. | 138 // Ownership passed to RootWindow on Init. |
139 DesktopRootWindowHost* desktop_root_window_host_; | 139 DesktopRootWindowHost* desktop_root_window_host_; |
140 aura::Window* window_; | 140 aura::Window* window_; |
141 Widget::InitParams::Ownership ownership_; | 141 Widget::InitParams::Ownership ownership_; |
142 internal::NativeWidgetDelegate* native_widget_delegate_; | 142 internal::NativeWidgetDelegate* native_widget_delegate_; |
143 | 143 |
144 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 144 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
145 }; | 145 }; |
146 | 146 |
147 } // namespace views | 147 } // namespace views |
148 | 148 |
149 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ | 149 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |