OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool can_compose_inline) OVERRIDE; | 61 bool can_compose_inline) OVERRIDE; |
62 virtual void ImeCancelComposition() OVERRIDE; | 62 virtual void ImeCancelComposition() OVERRIDE; |
63 virtual void DidUpdateBackingStore( | 63 virtual void DidUpdateBackingStore( |
64 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 64 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
65 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 65 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
66 virtual void RenderViewGone(base::TerminationStatus status, | 66 virtual void RenderViewGone(base::TerminationStatus status, |
67 int error_code) OVERRIDE; | 67 int error_code) OVERRIDE; |
68 virtual void Destroy() OVERRIDE; | 68 virtual void Destroy() OVERRIDE; |
69 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 69 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
70 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 70 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 71 virtual void AcceleratedSurfaceBuffersSwapped( |
| 72 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 73 int gpu_host_id) OVERRIDE; |
71 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) | 74 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) |
72 virtual void AcceleratedSurfaceNew( | 75 virtual void AcceleratedSurfaceNew( |
73 int32 width, | 76 int32 width, |
74 int32 height, | 77 int32 height, |
75 uint64* surface_id, | 78 uint64* surface_id, |
76 TransportDIB::Handle* surface_handle) OVERRIDE; | 79 TransportDIB::Handle* surface_handle) OVERRIDE; |
77 virtual void AcceleratedSurfaceBuffersSwapped( | |
78 uint64 surface_id, | |
79 int32 route_id, | |
80 int gpu_host_id) OVERRIDE; | |
81 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; | 80 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; |
82 #endif | 81 #endif |
83 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 82 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
84 #if defined(OS_POSIX) | 83 #if defined(OS_POSIX) |
85 virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); | 84 virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); |
86 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 85 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
87 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 86 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
88 #endif | 87 #endif |
89 virtual void SetVisuallyDeemphasized(const SkColor* color, | 88 virtual void SetVisuallyDeemphasized(const SkColor* color, |
90 bool animate) OVERRIDE; | 89 bool animate) OVERRIDE; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > | 159 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > |
161 accelerated_surface_containers_; | 160 accelerated_surface_containers_; |
162 #endif | 161 #endif |
163 | 162 |
164 bool skip_schedule_paint_; | 163 bool skip_schedule_paint_; |
165 | 164 |
166 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
167 }; | 166 }; |
168 | 167 |
169 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 168 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |