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

Unified Diff: sky/engine/web/WebViewImpl.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/web/ChromeClientImpl.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.h
diff --git a/sky/engine/web/WebViewImpl.h b/sky/engine/web/WebViewImpl.h
index 0a3bd51216ec126d5c23c1e1baec27dacdc05f6d..5fc3284cdb4a48a86e1626920021018f9f91d397 100644
--- a/sky/engine/web/WebViewImpl.h
+++ b/sky/engine/web/WebViewImpl.h
@@ -75,7 +75,6 @@ public:
virtual void layout() override;
virtual void paint(WebCanvas*, const WebRect&) override;
virtual bool handleInputEvent(const WebInputEvent&) override;
- virtual void setCursorVisibilityState(bool isVisible) override;
virtual void mouseCaptureLost() override;
virtual void setFocus(bool enable) override;
virtual bool setComposition(
@@ -99,13 +98,9 @@ public:
virtual void injectModule(const WebString&) override;
virtual void setSpellCheckClient(WebSpellCheckClient*) override;
virtual WebSettings* settings() override;
- virtual WebString pageEncoding() const override;
- virtual void setPageEncoding(const WebString&) override;
virtual bool isTransparent() const override;
virtual void setIsTransparent(bool value) override;
virtual void setBaseBackgroundColor(WebColor) override;
- virtual bool tabsToLinks() const override;
- virtual void setTabsToLinks(bool value) override;
virtual bool isActive() const override;
virtual void setIsActive(bool value) override;
virtual WebFrame* mainFrame() override;
@@ -121,11 +116,9 @@ public:
virtual WebHitTestResult hitTestResultAt(const WebPoint&) override;
virtual void spellingMarkers(WebVector<uint32_t>* markers) override;
virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& words) override;
- virtual void setCompositorDeviceScaleFactorOverride(float) override;
virtual void setShowPaintRects(bool) override;
void setShowDebugBorders(bool);
- virtual void setContinuousPaintingEnabled(bool) override;
virtual void setShowScrollBottleneckRects(bool) override;
virtual void acceptLanguagesChanged() override;
@@ -133,7 +126,6 @@ public:
// WebViewImpl
HitTestResult coreHitTestResultAt(const WebPoint&);
- void setIgnoreInputEvents(bool newValue);
void setBackgroundColorOverride(WebColor);
Color baseBackgroundColor() const { return m_baseBackgroundColor; }
@@ -173,8 +165,6 @@ public:
// Event related methods:
void mouseDoubleClick(const WebMouseEvent&);
- bool detectContentOnTouch(const WebPoint&);
-
// Notifies the WebView that a load has been committed. isNewNavigation
// will be true if a new session history item should be created for that
// load. isNavigationWithinPage will be true if the navigation does
@@ -286,9 +276,6 @@ private:
// is called.
OwnPtr<WebSettingsImpl> m_webSettings;
- bool m_ignoreInputEvents;
-
- float m_compositorDeviceScaleFactorOverride;
WebSize m_rootLayerOffset;
float m_rootLayerScale;
@@ -304,9 +291,6 @@ private:
// Whether the webview is rendering transparently.
bool m_isTransparent;
- // Whether the user can press tab to focus links.
- bool m_tabsToLinks;
-
// If set, the (plugin) node which has mouse capture.
RefPtr<Node> m_mouseCaptureNode;
RefPtr<UserGestureToken> m_mouseCaptureGestureToken;
@@ -325,7 +309,6 @@ private:
bool m_showPaintRects;
bool m_showDebugBorders;
- bool m_continuousPaintingEnabled;
bool m_showScrollBottleneckRects;
WebColor m_baseBackgroundColor;
WebColor m_backgroundColorOverride;
« no previous file with comments | « sky/engine/web/ChromeClientImpl.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698