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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.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_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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 int error_code) OVERRIDE; 192 int error_code) OVERRIDE;
193 // called by WebContentsImpl before DestroyWindow 193 // called by WebContentsImpl before DestroyWindow
194 virtual void WillWmDestroy() OVERRIDE; 194 virtual void WillWmDestroy() OVERRIDE;
195 virtual void Destroy() OVERRIDE; 195 virtual void Destroy() OVERRIDE;
196 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 196 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
197 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 197 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
198 virtual void CopyFromCompositingSurface( 198 virtual void CopyFromCompositingSurface(
199 const gfx::Rect& src_subrect, 199 const gfx::Rect& src_subrect,
200 const gfx::Size& dst_size, 200 const gfx::Size& dst_size,
201 const base::Callback<void(bool)>& callback, 201 const base::Callback<void(bool)>& callback,
202 skia::PlatformCanvas* output) OVERRIDE; 202 skia::PlatformBitmap* output) OVERRIDE;
203 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 203 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
204 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, 204 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type,
205 bool processed) OVERRIDE; 205 bool processed) OVERRIDE;
206 virtual void SetHasHorizontalScrollbar( 206 virtual void SetHasHorizontalScrollbar(
207 bool has_horizontal_scrollbar) OVERRIDE; 207 bool has_horizontal_scrollbar) OVERRIDE;
208 virtual void SetScrollOffsetPinning( 208 virtual void SetScrollOffsetPinning(
209 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 209 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
210 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 210 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
211 virtual void AcceleratedSurfaceBuffersSwapped( 211 virtual void AcceleratedSurfaceBuffersSwapped(
212 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 212 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 bool touch_events_enabled_; 578 bool touch_events_enabled_;
579 579
580 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 580 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
581 581
582 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 582 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
583 }; 583 };
584 584
585 } // namespace content 585 } // namespace content
586 586
587 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 587 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698