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

Unified Diff: mojo/services/html_viewer/html_document.h

Issue 1018543002: Wires through scale factor and bounds in html_viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: mojo/services/html_viewer/html_document.h
diff --git a/mojo/services/html_viewer/html_document.h b/mojo/services/html_viewer/html_document.h
index 38fcd71e20681618851933e8b51fc56fca151de8..217e2b8c266d4b90e0803b02efea17cf65ed0f9d 100644
--- a/mojo/services/html_viewer/html_document.h
+++ b/mojo/services/html_viewer/html_document.h
@@ -69,6 +69,10 @@ class HTMLDocument : public blink::WebViewClient,
virtual ~HTMLDocument();
private:
+ // Updates the size and scale factor of the webview and related classes from
+ // |root_|.
+ void UpdateWebviewSizeFromViewSize();
+
// WebViewClient methods:
virtual blink::WebStorageNamespace* createSessionStorageNamespace();

Powered by Google App Engine
This is Rietveld 408576698