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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 58 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
59 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 59 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
60 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 60 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
61 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 61 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
62 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 62 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
63 virtual bool HasFocus() const OVERRIDE; | 63 virtual bool HasFocus() const OVERRIDE; |
64 virtual void Show() OVERRIDE; | 64 virtual void Show() OVERRIDE; |
65 virtual void Hide() OVERRIDE; | 65 virtual void Hide() OVERRIDE; |
66 virtual bool IsShowing() OVERRIDE; | 66 virtual bool IsShowing() OVERRIDE; |
67 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 67 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
68 virtual void UnhandledWheelEvent( | |
69 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | |
70 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 68 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
71 virtual bool CopyFromCompositingSurface( | 69 virtual bool CopyFromCompositingSurface( |
72 const gfx::Size& size, | 70 const gfx::Size& size, |
73 skia::PlatformCanvas* output) OVERRIDE; | 71 skia::PlatformCanvas* output) OVERRIDE; |
74 | 72 |
75 // Overridden from RenderWidgetHostViewPort: | 73 // Overridden from RenderWidgetHostViewPort: |
76 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 74 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
77 const gfx::Rect& pos) OVERRIDE; | 75 const gfx::Rect& pos) OVERRIDE; |
78 virtual void InitAsFullscreen( | 76 virtual void InitAsFullscreen( |
79 content::RenderWidgetHostView* reference_host_view) OVERRIDE; | 77 content::RenderWidgetHostView* reference_host_view) OVERRIDE; |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 bool needs_update_texture_; | 290 bool needs_update_texture_; |
293 | 291 |
294 // Used to prevent further resizes while a resize is pending. | 292 // Used to prevent further resizes while a resize is pending. |
295 class ResizeLock; | 293 class ResizeLock; |
296 std::vector<linked_ptr<ResizeLock> > resize_locks_; | 294 std::vector<linked_ptr<ResizeLock> > resize_locks_; |
297 | 295 |
298 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 296 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
299 }; | 297 }; |
300 | 298 |
301 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 299 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |