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

Unified Diff: sky/engine/public/web/WebView.h

Issue 866733007: Remove more unused code in WebViewImpl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/public/platform/WebLayerTreeView.h ('k') | sky/engine/public/web/WebWidget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/web/WebView.h
diff --git a/sky/engine/public/web/WebView.h b/sky/engine/public/web/WebView.h
index f556584bde67f86fa0e7513ca19fbfc97ae43404..013acaaec88447dba54065e083f32ac369e42c9d 100644
--- a/sky/engine/public/web/WebView.h
+++ b/sky/engine/public/web/WebView.h
@@ -71,11 +71,6 @@ public:
// The returned pointer is valid for the lifetime of the WebView.
virtual WebSettings* settings() = 0;
- // Corresponds to the encoding of the main frame. Setting the page
- // encoding may cause the main frame to reload.
- virtual WebString pageEncoding() const = 0;
- virtual void setPageEncoding(const WebString&) = 0;
-
// Makes the WebView transparent. This is useful if you want to have
// some custom background rendered behind it.
virtual bool isTransparent() const = 0;
@@ -91,10 +86,6 @@ public:
// first call to this method.
virtual void setBaseBackgroundColor(WebColor) = 0;
- // Controls whether pressing Tab key advances focus to links.
- virtual bool tabsToLinks() const = 0;
- virtual void setTabsToLinks(bool) = 0;
-
// Controls the WebView's active state, which may affect the rendering
// of elements on the page (i.e., tinting of input elements).
virtual bool isActive() const = 0;
@@ -145,13 +136,7 @@ public:
// Developer tools -----------------------------------------------------
- // Set an override of device scale factor passed from WebView to
- // compositor. Pass zero to cancel override. This is used to implement
- // device metrics emulation.
- virtual void setCompositorDeviceScaleFactorOverride(float) = 0;
-
virtual void setShowPaintRects(bool) = 0;
- virtual void setContinuousPaintingEnabled(bool) = 0;
virtual void setShowScrollBottleneckRects(bool) = 0;
// Visibility -----------------------------------------------------------
« no previous file with comments | « sky/engine/public/platform/WebLayerTreeView.h ('k') | sky/engine/public/web/WebWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698