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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.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, 4 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_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 184 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
185 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 185 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
186 virtual void RenderViewGone(base::TerminationStatus status, 186 virtual void RenderViewGone(base::TerminationStatus status,
187 int error_code) OVERRIDE; 187 int error_code) OVERRIDE;
188 // called by WebContentsImpl before DestroyWindow 188 // called by WebContentsImpl before DestroyWindow
189 virtual void WillWmDestroy() OVERRIDE; 189 virtual void WillWmDestroy() OVERRIDE;
190 virtual void Destroy() OVERRIDE; 190 virtual void Destroy() OVERRIDE;
191 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 191 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
192 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 192 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
193 virtual void CopyFromCompositingSurface( 193 virtual void CopyFromCompositingSurface(
194 const gfx::Size& size, 194 const gfx::Rect& src_subrect,
195 const gfx::Size& dst_size,
195 const base::Callback<void(bool)>& callback, 196 const base::Callback<void(bool)>& callback,
196 skia::PlatformCanvas* output) OVERRIDE; 197 skia::PlatformCanvas* output) OVERRIDE;
197 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 198 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
198 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, 199 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type,
199 bool processed) OVERRIDE; 200 bool processed) OVERRIDE;
200 virtual void SetHasHorizontalScrollbar( 201 virtual void SetHasHorizontalScrollbar(
201 bool has_horizontal_scrollbar) OVERRIDE; 202 bool has_horizontal_scrollbar) OVERRIDE;
202 virtual void SetScrollOffsetPinning( 203 virtual void SetScrollOffsetPinning(
203 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 204 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
204 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 205 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 bool touch_events_enabled_; 551 bool touch_events_enabled_;
551 552
552 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 553 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
553 554
554 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 555 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
555 }; 556 };
556 557
557 } // namespace content 558 } // namespace content
558 559
559 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 560 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698