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

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

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr comments and rebase Created 5 years, 2 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/public/common/resource_response_info.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index 814822517b3829be40f36ac13c9b59250ddc33ea..e836670581afb60f93ff1d5f59e1dd6485657829 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -157,6 +157,9 @@ 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;
+
protected:
~RenderFrame() override {}
« no previous file with comments | « content/public/common/resource_response_info.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698