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

Unified Diff: content/public/renderer/render_frame.h

Issue 2963913002: Factor DRP PreviewsState logic out of content (Closed)
Patch Set: dougarnett comments Created 3 years, 5 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
Index: content/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index 2b2c8c8445e2456a274c60e940e79fee45d1f31d..fe974e2db68dfd33cd24db2947a912d64e133986 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -244,6 +244,10 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// Forcefully detaches all connected DevTools clients.
virtual void DetachDevToolsForTest() = 0;
+ // Sets the PreviewsState of this frame, a bitmask of potentially several
+ // Previews optimizations.
+ virtual void SetPreviewsState(PreviewsState previews_state) = 0;
+
// Returns the PreviewsState of this frame, a bitmask of potentially several
// Previews optimizations.
virtual PreviewsState GetPreviewsState() const = 0;

Powered by Google App Engine
This is Rietveld 408576698