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_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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void PasteAndMatchStyle() OVERRIDE; 89 virtual void PasteAndMatchStyle() OVERRIDE;
90 virtual void Delete() OVERRIDE; 90 virtual void Delete() OVERRIDE;
91 virtual void SelectAll() OVERRIDE; 91 virtual void SelectAll() OVERRIDE;
92 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE; 92 virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE;
93 virtual void NotifyTextDirection() OVERRIDE; 93 virtual void NotifyTextDirection() OVERRIDE;
94 virtual void Blur() OVERRIDE; 94 virtual void Blur() OVERRIDE;
95 virtual void CopyFromBackingStore( 95 virtual void CopyFromBackingStore(
96 const gfx::Rect& src_rect, 96 const gfx::Rect& src_rect,
97 const gfx::Size& accelerated_dst_size, 97 const gfx::Size& accelerated_dst_size,
98 const base::Callback<void(bool)>& callback, 98 const base::Callback<void(bool)>& callback,
99 skia::PlatformCanvas* output) OVERRIDE; 99 skia::PlatformBitmap* output) OVERRIDE;
100 #if defined(TOOLKIT_GTK) 100 #if defined(TOOLKIT_GTK)
101 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, 101 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
102 GdkWindow* target) OVERRIDE; 102 GdkWindow* target) OVERRIDE;
103 #elif defined(OS_MACOSX) 103 #elif defined(OS_MACOSX)
104 virtual gfx::Size GetBackingStoreSize() OVERRIDE; 104 virtual gfx::Size GetBackingStoreSize() OVERRIDE;
105 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, 105 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
106 CGContextRef target) OVERRIDE; 106 CGContextRef target) OVERRIDE;
107 #endif 107 #endif
108 virtual void EnableFullAccessibilityMode() OVERRIDE; 108 virtual void EnableFullAccessibilityMode() OVERRIDE;
109 virtual void ForwardMouseEvent( 109 virtual void ForwardMouseEvent(
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 SmoothScrollGestureMap active_smooth_scroll_gestures_; 827 SmoothScrollGestureMap active_smooth_scroll_gestures_;
828 828
829 scoped_ptr<GestureEventFilter> gesture_event_filter_; 829 scoped_ptr<GestureEventFilter> gesture_event_filter_;
830 830
831 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 831 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
832 }; 832 };
833 833
834 } // namespace content 834 } // namespace content
835 835
836 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 836 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698