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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 const gfx::Point& location) override; | 242 const gfx::Point& location) override; |
243 bool CanFocus() override; | 243 bool CanFocus() override; |
244 void OnCaptureLost() override; | 244 void OnCaptureLost() override; |
245 void OnPaint(const ui::PaintContext& context) override; | 245 void OnPaint(const ui::PaintContext& context) override; |
246 void OnDeviceScaleFactorChanged(float device_scale_factor) override; | 246 void OnDeviceScaleFactorChanged(float device_scale_factor) override; |
247 void OnWindowDestroying(aura::Window* window) override; | 247 void OnWindowDestroying(aura::Window* window) override; |
248 void OnWindowDestroyed(aura::Window* window) override; | 248 void OnWindowDestroyed(aura::Window* window) override; |
249 void OnWindowTargetVisibilityChanged(bool visible) override; | 249 void OnWindowTargetVisibilityChanged(bool visible) override; |
250 bool HasHitTestMask() const override; | 250 bool HasHitTestMask() const override; |
251 void GetHitTestMask(gfx::Path* mask) const override; | 251 void GetHitTestMask(gfx::Path* mask) const override; |
| 252 void OnWindowSurfaceChanged(const cc::SurfaceInfo& surface_info) override; |
252 | 253 |
253 // Overridden from ui::EventHandler: | 254 // Overridden from ui::EventHandler: |
254 void OnKeyEvent(ui::KeyEvent* event) override; | 255 void OnKeyEvent(ui::KeyEvent* event) override; |
255 void OnMouseEvent(ui::MouseEvent* event) override; | 256 void OnMouseEvent(ui::MouseEvent* event) override; |
256 void OnScrollEvent(ui::ScrollEvent* event) override; | 257 void OnScrollEvent(ui::ScrollEvent* event) override; |
257 void OnTouchEvent(ui::TouchEvent* event) override; | 258 void OnTouchEvent(ui::TouchEvent* event) override; |
258 void OnGestureEvent(ui::GestureEvent* event) override; | 259 void OnGestureEvent(ui::GestureEvent* event) override; |
259 | 260 |
260 // Overridden from aura::client::ActivationDelegate: | 261 // Overridden from aura::client::ActivationDelegate: |
261 bool ShouldActivate() const override; | 262 bool ShouldActivate() const override; |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; | 585 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; |
585 | 586 |
586 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 587 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
587 | 588 |
588 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 589 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
589 }; | 590 }; |
590 | 591 |
591 } // namespace content | 592 } // namespace content |
592 | 593 |
593 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 594 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |