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