Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(891)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 11031055: Introduce PlatformBitmap, which is a minimal helper class that wraps an SkBitmap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void SelectionBoundsChanged( 103 virtual void SelectionBoundsChanged(
104 const gfx::Rect& start_rect, 104 const gfx::Rect& start_rect,
105 WebKit::WebTextDirection start_direction, 105 WebKit::WebTextDirection start_direction,
106 const gfx::Rect& end_rect, 106 const gfx::Rect& end_rect,
107 WebKit::WebTextDirection end_direction) OVERRIDE; 107 WebKit::WebTextDirection end_direction) OVERRIDE;
108 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 108 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
109 virtual void CopyFromCompositingSurface( 109 virtual void CopyFromCompositingSurface(
110 const gfx::Rect& src_subrect, 110 const gfx::Rect& src_subrect,
111 const gfx::Size& dst_size, 111 const gfx::Size& dst_size,
112 const base::Callback<void(bool)>& callback, 112 const base::Callback<void(bool)>& callback,
113 skia::PlatformCanvas* output) OVERRIDE; 113 skia::PlatformBitmap* output) OVERRIDE;
114 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 114 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
115 virtual void AcceleratedSurfaceBuffersSwapped( 115 virtual void AcceleratedSurfaceBuffersSwapped(
116 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, 116 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel,
117 int gpu_host_id) OVERRIDE; 117 int gpu_host_id) OVERRIDE;
118 virtual void AcceleratedSurfacePostSubBuffer( 118 virtual void AcceleratedSurfacePostSubBuffer(
119 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, 119 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel,
120 int gpu_host_id) OVERRIDE; 120 int gpu_host_id) OVERRIDE;
121 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 121 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
122 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 122 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
123 virtual void AcceleratedSurfaceNew( 123 virtual void AcceleratedSurfaceNew(
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Used to track the state of the window we're created from. Only used when 392 // Used to track the state of the window we're created from. Only used when
393 // created fullscreen. 393 // created fullscreen.
394 scoped_ptr<aura::WindowTracker> host_tracker_; 394 scoped_ptr<aura::WindowTracker> host_tracker_;
395 395
396 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 396 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
397 }; 397 };
398 398
399 } // namespace content 399 } // namespace content
400 400
401 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 401 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698