| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 const gfx::Point& location) OVERRIDE; | 167 const gfx::Point& location) OVERRIDE; |
| 168 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; | 168 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; |
| 169 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; | 169 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; |
| 170 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; | 170 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; |
| 171 virtual bool CanFocus() OVERRIDE; | 171 virtual bool CanFocus() OVERRIDE; |
| 172 virtual void OnCaptureLost() OVERRIDE; | 172 virtual void OnCaptureLost() OVERRIDE; |
| 173 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 173 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 174 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 174 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 175 virtual void OnWindowDestroying() OVERRIDE; | 175 virtual void OnWindowDestroying() OVERRIDE; |
| 176 virtual void OnWindowDestroyed() OVERRIDE; | 176 virtual void OnWindowDestroyed() OVERRIDE; |
| 177 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; | 177 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
| 178 virtual bool HasHitTestMask() const OVERRIDE; | 178 virtual bool HasHitTestMask() const OVERRIDE; |
| 179 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 179 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
| 180 | 180 |
| 181 // Overridden from aura::client::ActivationDelegate: | 181 // Overridden from aura::client::ActivationDelegate: |
| 182 virtual bool ShouldActivate(const aura::Event* event) OVERRIDE; | 182 virtual bool ShouldActivate(const aura::Event* event) OVERRIDE; |
| 183 virtual void OnActivated() OVERRIDE; | 183 virtual void OnActivated() OVERRIDE; |
| 184 virtual void OnLostActive() OVERRIDE; | 184 virtual void OnLostActive() OVERRIDE; |
| 185 | 185 |
| 186 protected: | 186 protected: |
| 187 friend class RenderWidgetHostView; | 187 friend class RenderWidgetHostView; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 373 |
| 374 // This lock is for waiting for a front surface to become available to draw. | 374 // This lock is for waiting for a front surface to become available to draw. |
| 375 scoped_refptr<aura::CompositorLock> released_front_lock_; | 375 scoped_refptr<aura::CompositorLock> released_front_lock_; |
| 376 | 376 |
| 377 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 377 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 378 }; | 378 }; |
| 379 | 379 |
| 380 } // namespace content | 380 } // namespace content |
| 381 | 381 |
| 382 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 382 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |