| 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 90 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
| 91 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 91 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
| 92 virtual void RenderViewGone(base::TerminationStatus status, | 92 virtual void RenderViewGone(base::TerminationStatus status, |
| 93 int error_code) OVERRIDE; | 93 int error_code) OVERRIDE; |
| 94 virtual void Destroy() OVERRIDE; | 94 virtual void Destroy() OVERRIDE; |
| 95 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 95 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 96 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 96 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
| 97 const gfx::Rect& end_rect) OVERRIDE; | 97 const gfx::Rect& end_rect) OVERRIDE; |
| 98 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 98 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 99 virtual void CopyFromCompositingSurface( | 99 virtual void CopyFromCompositingSurface( |
| 100 const gfx::Size& size, | 100 const gfx::Rect& src_subrect, |
| 101 const gfx::Size& dst_size, |
| 101 const base::Callback<void(bool)>& callback, | 102 const base::Callback<void(bool)>& callback, |
| 102 skia::PlatformCanvas* output) OVERRIDE; | 103 skia::PlatformCanvas* output) OVERRIDE; |
| 103 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 104 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 104 virtual void AcceleratedSurfaceBuffersSwapped( | 105 virtual void AcceleratedSurfaceBuffersSwapped( |
| 105 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, | 106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, |
| 106 int gpu_host_id) OVERRIDE; | 107 int gpu_host_id) OVERRIDE; |
| 107 virtual void AcceleratedSurfacePostSubBuffer( | 108 virtual void AcceleratedSurfacePostSubBuffer( |
| 108 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, | 109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, |
| 109 int gpu_host_id) OVERRIDE; | 110 int gpu_host_id) OVERRIDE; |
| 110 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 111 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 342 |
| 342 // This lock is for waiting for a front surface to become available to draw. | 343 // This lock is for waiting for a front surface to become available to draw. |
| 343 scoped_refptr<aura::CompositorLock> released_front_lock_; | 344 scoped_refptr<aura::CompositorLock> released_front_lock_; |
| 344 | 345 |
| 345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 346 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 346 }; | 347 }; |
| 347 | 348 |
| 348 } // namespace content | 349 } // namespace content |
| 349 | 350 |
| 350 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 351 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |