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

Unified Diff: content/renderer/render_view_impl.h

Issue 12463007: Disable partial swaps for webview guest renderer until we can figure out how to do that properly. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 80b4c2158f338423aafc0a82a1f63311e0dabdeb..7f599c5ecac04241f0d55e876de8644ecc29e172 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -223,7 +223,8 @@ class CONTENT_EXPORT RenderViewImpl
bool swapped_out,
int32 next_page_id,
const WebKit::WebScreenInfo& screen_info,
- AccessibilityMode accessibility_mode);
+ AccessibilityMode accessibility_mode,
+ bool allow_partial_swap);
// Used by content_layouttest_support to hook into the creation of
// RenderViewImpls.
@@ -830,6 +831,7 @@ 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);
@@ -1570,6 +1572,8 @@ class CONTENT_EXPORT RenderViewImpl
PendingSnapshotMap;
PendingSnapshotMap pending_snapshots_;
+ bool allow_partial_swap_;
+
// Plugins -------------------------------------------------------------------
// All the currently active plugin delegates for this RenderView; kept so
« 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