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

Unified Diff: content/renderer/render_view_impl.h

Issue 167953003: cc: Remove the --enable-partial-swap flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enablepartialswap: build Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 530e1ca005dde4f6f3be9ae709e725adb0a6ba0e..9af30b4e06dda05cf71567cbee70e24e5796611e 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -178,22 +178,20 @@ class CONTENT_EXPORT RenderViewImpl
public:
// Creates a new RenderView. |opener_id| is the routing ID of the RenderView
// responsible for creating this RenderView.
- static RenderViewImpl* Create(
- int32 opener_id,
- const RendererPreferences& renderer_prefs,
- const WebPreferences& webkit_prefs,
- int32 routing_id,
- int32 main_frame_routing_id,
- int32 surface_id,
- int64 session_storage_namespace_id,
- const base::string16& frame_name,
- bool is_renderer_created,
- bool swapped_out,
- bool hidden,
- int32 next_page_id,
- const blink::WebScreenInfo& screen_info,
- unsigned int accessibility_mode,
- bool allow_partial_swap);
+ static RenderViewImpl* Create(int32 opener_id,
+ const RendererPreferences& renderer_prefs,
+ const WebPreferences& webkit_prefs,
+ int32 routing_id,
+ int32 main_frame_routing_id,
+ int32 surface_id,
+ int64 session_storage_namespace_id,
+ const base::string16& frame_name,
+ bool is_renderer_created,
+ bool swapped_out,
+ bool hidden,
+ int32 next_page_id,
+ const blink::WebScreenInfo& screen_info,
+ unsigned int accessibility_mode);
// Used by content_layouttest_support to hook into the creation of
// RenderViewImpls.
@@ -726,7 +724,6 @@ class CONTENT_EXPORT RenderViewImpl
virtual void InstrumentDidBeginFrame() OVERRIDE;
virtual void InstrumentDidCancelFrame() OVERRIDE;
virtual void InstrumentWillComposite() OVERRIDE;
- virtual bool AllowPartialSwap() const OVERRIDE;
protected:
explicit RenderViewImpl(RenderViewImplParams* params);
@@ -1446,10 +1443,6 @@ class CONTENT_EXPORT RenderViewImpl
typedef std::map<int, WindowSnapshotCallback> PendingSnapshotMap;
PendingSnapshotMap pending_snapshots_;
- // Allows to selectively disable partial buffer swap for this renderer's
- // compositor.
- bool allow_partial_swap_;
-
// This field stores drag/drop related info for the event that is currently
// being handled. If the current event results in starting a drag/drop
// session, this info is sent to the browser along with other drag/drop info.
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698