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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 virtual void OnBlur() OVERRIDE; | 154 virtual void OnBlur() OVERRIDE; |
155 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; | 155 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; |
156 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 156 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
157 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 157 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
158 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; | 158 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; |
159 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; | 159 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; |
160 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; | 160 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; |
161 virtual bool CanFocus() OVERRIDE; | 161 virtual bool CanFocus() OVERRIDE; |
162 virtual void OnCaptureLost() OVERRIDE; | 162 virtual void OnCaptureLost() OVERRIDE; |
163 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 163 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 164 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
164 virtual void OnWindowDestroying() OVERRIDE; | 165 virtual void OnWindowDestroying() OVERRIDE; |
165 virtual void OnWindowDestroyed() OVERRIDE; | 166 virtual void OnWindowDestroyed() OVERRIDE; |
166 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; | 167 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; |
167 | 168 |
168 // Overridden from aura::client::ActivationDelegate: | 169 // Overridden from aura::client::ActivationDelegate: |
169 virtual bool ShouldActivate(const aura::Event* event) OVERRIDE; | 170 virtual bool ShouldActivate(const aura::Event* event) OVERRIDE; |
170 virtual void OnActivated() OVERRIDE; | 171 virtual void OnActivated() OVERRIDE; |
171 virtual void OnLostActive() OVERRIDE; | 172 virtual void OnLostActive() OVERRIDE; |
172 | 173 |
173 protected: | 174 protected: |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // These locks are the ones waiting for a texture of the right size to come | 301 // These locks are the ones waiting for a texture of the right size to come |
301 // back from the renderer/GPU process. | 302 // back from the renderer/GPU process. |
302 std::vector<linked_ptr<ResizeLock> > resize_locks_; | 303 std::vector<linked_ptr<ResizeLock> > resize_locks_; |
303 // These locks are the ones waiting for a frame to be drawn. | 304 // These locks are the ones waiting for a frame to be drawn. |
304 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; | 305 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; |
305 | 306 |
306 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 307 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
307 }; | 308 }; |
308 | 309 |
309 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 310 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |