| 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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 void OnBoundsChanged(const gfx::Rect& old_bounds, | 278 void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 279 const gfx::Rect& new_bounds) override; | 279 const gfx::Rect& new_bounds) override; |
| 280 ui::TextInputClient* GetFocusedTextInputClient() override; | 280 ui::TextInputClient* GetFocusedTextInputClient() override; |
| 281 gfx::NativeCursor GetCursor(const gfx::Point& point) override; | 281 gfx::NativeCursor GetCursor(const gfx::Point& point) override; |
| 282 int GetNonClientComponent(const gfx::Point& point) const override; | 282 int GetNonClientComponent(const gfx::Point& point) const override; |
| 283 bool ShouldDescendIntoChildForEventHandling( | 283 bool ShouldDescendIntoChildForEventHandling( |
| 284 aura::Window* child, | 284 aura::Window* child, |
| 285 const gfx::Point& location) override; | 285 const gfx::Point& location) override; |
| 286 bool CanFocus() override; | 286 bool CanFocus() override; |
| 287 void OnCaptureLost() override; | 287 void OnCaptureLost() override; |
| 288 void OnPaint(gfx::Canvas* canvas) override; | 288 void OnPaint(const ui::PaintContext& context) override; |
| 289 void OnDeviceScaleFactorChanged(float device_scale_factor) override; | 289 void OnDeviceScaleFactorChanged(float device_scale_factor) override; |
| 290 void OnWindowDestroying(aura::Window* window) override; | 290 void OnWindowDestroying(aura::Window* window) override; |
| 291 void OnWindowDestroyed(aura::Window* window) override; | 291 void OnWindowDestroyed(aura::Window* window) override; |
| 292 void OnWindowTargetVisibilityChanged(bool visible) override; | 292 void OnWindowTargetVisibilityChanged(bool visible) override; |
| 293 bool HasHitTestMask() const override; | 293 bool HasHitTestMask() const override; |
| 294 void GetHitTestMask(gfx::Path* mask) const override; | 294 void GetHitTestMask(gfx::Path* mask) const override; |
| 295 | 295 |
| 296 // Overridden from ui::EventHandler: | 296 // Overridden from ui::EventHandler: |
| 297 void OnKeyEvent(ui::KeyEvent* event) override; | 297 void OnKeyEvent(ui::KeyEvent* event) override; |
| 298 void OnMouseEvent(ui::MouseEvent* event) override; | 298 void OnMouseEvent(ui::MouseEvent* event) override; |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 // compositing surface and showing the disambiguation popup. | 652 // compositing surface and showing the disambiguation popup. |
| 653 gfx::Vector2dF disambiguation_scroll_offset_; | 653 gfx::Vector2dF disambiguation_scroll_offset_; |
| 654 | 654 |
| 655 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 655 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 656 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 656 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 657 }; | 657 }; |
| 658 | 658 |
| 659 } // namespace content | 659 } // namespace content |
| 660 | 660 |
| 661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |