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