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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.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_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <list> 9 #include <list>
10 10
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 233 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
234 virtual void RenderViewGone(base::TerminationStatus status, 234 virtual void RenderViewGone(base::TerminationStatus status,
235 int error_code) OVERRIDE; 235 int error_code) OVERRIDE;
236 virtual void Destroy() OVERRIDE; 236 virtual void Destroy() OVERRIDE;
237 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 237 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
238 virtual void SelectionChanged(const string16& text, 238 virtual void SelectionChanged(const string16& text,
239 size_t offset, 239 size_t offset,
240 const ui::Range& range) OVERRIDE; 240 const ui::Range& range) OVERRIDE;
241 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 241 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
242 virtual void CopyFromCompositingSurface( 242 virtual void CopyFromCompositingSurface(
243 const gfx::Size& size, 243 const gfx::Rect& src_subrect,
244 const gfx::Size& dst_size,
244 const base::Callback<void(bool)>& callback, 245 const base::Callback<void(bool)>& callback,
245 skia::PlatformCanvas* output) OVERRIDE; 246 skia::PlatformCanvas* output) OVERRIDE;
246 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 247 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
247 248
248 virtual void OnAccessibilityNotifications( 249 virtual void OnAccessibilityNotifications(
249 const std::vector<AccessibilityHostMsg_NotificationParams>& params 250 const std::vector<AccessibilityHostMsg_NotificationParams>& params
250 ) OVERRIDE; 251 ) OVERRIDE;
251 252
252 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; 253 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE;
253 virtual void StartPluginIme() OVERRIDE; 254 virtual void StartPluginIme() OVERRIDE;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 460
460 // The current caret bounds. 461 // The current caret bounds.
461 gfx::Rect caret_rect_; 462 gfx::Rect caret_rect_;
462 463
463 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 464 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
464 }; 465 };
465 466
466 } // namespace content 467 } // namespace content
467 468
468 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 469 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698