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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 virtual void OnWindowDestroying() OVERRIDE; | 180 virtual void OnWindowDestroying() OVERRIDE; |
181 virtual void OnWindowDestroyed() OVERRIDE; | 181 virtual void OnWindowDestroyed() OVERRIDE; |
182 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; | 182 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
183 virtual bool HasHitTestMask() const OVERRIDE; | 183 virtual bool HasHitTestMask() const OVERRIDE; |
184 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 184 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
185 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; | 185 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; |
186 | 186 |
187 // Overridden from ui::EventHandler: | 187 // Overridden from ui::EventHandler: |
188 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 188 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
189 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 189 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
190 virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 190 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
191 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 191 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
192 | 192 |
193 // Overridden from aura::client::ActivationDelegate: | 193 // Overridden from aura::client::ActivationDelegate: |
194 virtual bool ShouldActivate(const ui::Event* event) OVERRIDE; | 194 virtual bool ShouldActivate(const ui::Event* event) OVERRIDE; |
195 virtual void OnActivated() OVERRIDE; | 195 virtual void OnActivated() OVERRIDE; |
196 virtual void OnLostActive() OVERRIDE; | 196 virtual void OnLostActive() OVERRIDE; |
197 | 197 |
198 protected: | 198 protected: |
199 friend class RenderWidgetHostView; | 199 friend class RenderWidgetHostView; |
200 | 200 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 // Used to track the state of the window we're created from. Only used when | 392 // Used to track the state of the window we're created from. Only used when |
393 // created fullscreen. | 393 // created fullscreen. |
394 scoped_ptr<aura::WindowTracker> host_tracker_; | 394 scoped_ptr<aura::WindowTracker> host_tracker_; |
395 | 395 |
396 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 396 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
397 }; | 397 }; |
398 | 398 |
399 } // namespace content | 399 } // namespace content |
400 | 400 |
401 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 401 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |