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

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

Issue 10815070: Support copying a partial rectangle region from the compositing surface on Aura and GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 5 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_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 7
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void Destroy() OVERRIDE; 90 virtual void Destroy() OVERRIDE;
91 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} 91 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}
92 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 92 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
93 virtual void SelectionChanged(const string16& text, 93 virtual void SelectionChanged(const string16& text,
94 size_t offset, 94 size_t offset,
95 const ui::Range& range) OVERRIDE; 95 const ui::Range& range) 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, 106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
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, 109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
109 int gpu_host_id) OVERRIDE; 110 int gpu_host_id) OVERRIDE;
110 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 111 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // Instance of accessibility information for the root of the AtkObject 312 // Instance of accessibility information for the root of the AtkObject
312 // tree representation of the WebKit render tree. 313 // tree representation of the WebKit render tree.
313 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 314 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
314 315
315 ui::GtkSignalRegistrar signals_; 316 ui::GtkSignalRegistrar signals_;
316 }; 317 };
317 318
318 } // namespace content 319 } // namespace content
319 320
320 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 321 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698