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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 234533002: Remove a bunch of TOOLKIT_GTK in content/ and gpu/, as well as NPAPI plugins on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, skip changing browser_main_loop.cc because of presubmit issues, will follow up Created 6 years, 8 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 <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual void CopyFromBackingStore( 130 virtual void CopyFromBackingStore(
131 const gfx::Rect& src_rect, 131 const gfx::Rect& src_rect,
132 const gfx::Size& accelerated_dst_size, 132 const gfx::Size& accelerated_dst_size,
133 const base::Callback<void(bool, const SkBitmap&)>& callback, 133 const base::Callback<void(bool, const SkBitmap&)>& callback,
134 const SkBitmap::Config& bitmap_config) OVERRIDE; 134 const SkBitmap::Config& bitmap_config) OVERRIDE;
135 virtual bool CanCopyFromBackingStore() OVERRIDE; 135 virtual bool CanCopyFromBackingStore() OVERRIDE;
136 #if defined(OS_ANDROID) 136 #if defined(OS_ANDROID)
137 virtual void LockBackingStore() OVERRIDE; 137 virtual void LockBackingStore() OVERRIDE;
138 virtual void UnlockBackingStore() OVERRIDE; 138 virtual void UnlockBackingStore() OVERRIDE;
139 #endif 139 #endif
140 #if defined(TOOLKIT_GTK) 140 #if defined(OS_MACOSX)
141 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
142 GdkWindow* target) OVERRIDE;
143 #elif defined(OS_MACOSX)
144 virtual gfx::Size GetBackingStoreSize() OVERRIDE; 141 virtual gfx::Size GetBackingStoreSize() OVERRIDE;
145 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, 142 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
146 CGContextRef target) OVERRIDE; 143 CGContextRef target) OVERRIDE;
147 #endif 144 #endif
148 virtual void EnableFullAccessibilityMode() OVERRIDE; 145 virtual void EnableFullAccessibilityMode() OVERRIDE;
149 virtual bool IsFullAccessibilityModeForTesting() OVERRIDE; 146 virtual bool IsFullAccessibilityModeForTesting() OVERRIDE;
150 virtual void EnableTreeOnlyAccessibilityMode() OVERRIDE; 147 virtual void EnableTreeOnlyAccessibilityMode() OVERRIDE;
151 virtual bool IsTreeOnlyAccessibilityModeForTesting() OVERRIDE; 148 virtual bool IsTreeOnlyAccessibilityModeForTesting() OVERRIDE;
152 virtual void ForwardMouseEvent( 149 virtual void ForwardMouseEvent(
153 const blink::WebMouseEvent& mouse_event) OVERRIDE; 150 const blink::WebMouseEvent& mouse_event) OVERRIDE;
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; 931 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_;
935 932
936 int64 last_input_number_; 933 int64 last_input_number_;
937 934
938 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 935 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
939 }; 936 };
940 937
941 } // namespace content 938 } // namespace content
942 939
943 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 940 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.cc ('k') | content/browser/renderer_host/render_widget_host_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698