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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void PasteAndMatchStyle() OVERRIDE; 90 virtual void PasteAndMatchStyle() OVERRIDE;
91 virtual void Delete() OVERRIDE; 91 virtual void Delete() OVERRIDE;
92 virtual void SelectAll() OVERRIDE; 92 virtual void SelectAll() OVERRIDE;
93 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE; 93 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE;
94 virtual void NotifyTextDirection() OVERRIDE; 94 virtual void NotifyTextDirection() OVERRIDE;
95 virtual void Blur() OVERRIDE; 95 virtual void Blur() OVERRIDE;
96 virtual void CopyFromBackingStore( 96 virtual void CopyFromBackingStore(
97 const gfx::Rect& src_rect, 97 const gfx::Rect& src_rect,
98 const gfx::Size& accelerated_dst_size, 98 const gfx::Size& accelerated_dst_size,
99 const base::Callback<void(bool)>& callback, 99 const base::Callback<void(bool)>& callback,
100 skia::PlatformCanvas* output) OVERRIDE; 100 skia::PlatformBitmap* output) OVERRIDE;
101 #if defined(TOOLKIT_GTK) 101 #if defined(TOOLKIT_GTK)
102 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, 102 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
103 GdkWindow* target) OVERRIDE; 103 GdkWindow* target) OVERRIDE;
104 #elif defined(OS_MACOSX) 104 #elif defined(OS_MACOSX)
105 virtual gfx::Size GetBackingStoreSize() OVERRIDE; 105 virtual gfx::Size GetBackingStoreSize() OVERRIDE;
106 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, 106 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
107 CGContextRef target) OVERRIDE; 107 CGContextRef target) OVERRIDE;
108 #endif 108 #endif
109 virtual void EnableFullAccessibilityMode() OVERRIDE; 109 virtual void EnableFullAccessibilityMode() OVERRIDE;
110 virtual void ForwardMouseEvent( 110 virtual void ForwardMouseEvent(
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 bool tick_active_smooth_scroll_gestures_task_posted_; 830 bool tick_active_smooth_scroll_gestures_task_posted_;
831 831
832 scoped_ptr<GestureEventFilter> gesture_event_filter_; 832 scoped_ptr<GestureEventFilter> gesture_event_filter_;
833 833
834 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 834 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
835 }; 835 };
836 836
837 } // namespace content 837 } // namespace content
838 838
839 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 839 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/backing_store_win.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698