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

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

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: add back previews_unspecified Created 4 years 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 626229b8e8c3f4376bbfbeeeb17ff44fd6d08cff..b602921b7fa25596341e838cc0f1257f1b2c9824 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -229,8 +229,8 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
virtual void AddMessageToConsole(ConsoleMessageLevel level,
const std::string& message) = 0;
- // Whether or not this frame is using Lo-Fi.
- virtual bool IsUsingLoFi() const = 0;
+ // The PreviewsState of this frame.
+ virtual int GetPreviewsState() const = 0;
nasko 2016/12/08 22:19:33 PreviewsState
megjablon 2016/12/09 20:35:55 Done.
// Whether or not this frame is currently pasting.
virtual bool IsPasting() const = 0;

Powered by Google App Engine
This is Rietveld 408576698