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

Unified Diff: sky/engine/web/ChromeClientImpl.cpp

Issue 878673005: Get rid of Chrome, use Page. (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.h ('k') | sky/engine/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/ChromeClientImpl.cpp
diff --git a/sky/engine/web/ChromeClientImpl.cpp b/sky/engine/web/ChromeClientImpl.cpp
index adc08868f5f2f76cee95eb37668489b7b71ddd71..667df1630a43284656e5572a774c3b66106025d3 100644
--- a/sky/engine/web/ChromeClientImpl.cpp
+++ b/sky/engine/web/ChromeClientImpl.cpp
@@ -85,11 +85,6 @@ void* ChromeClientImpl::webView() const
return static_cast<void*>(m_webView);
}
-void ChromeClientImpl::chromeDestroyed()
-{
- // Our lifetime is bound to the WebViewImpl.
-}
-
void ChromeClientImpl::setWindowRect(const FloatRect& r)
{
if (m_webView->client())
@@ -111,14 +106,6 @@ FloatRect ChromeClientImpl::windowRect()
return FloatRect(rect);
}
-FloatRect ChromeClientImpl::pageRect()
-{
- // We hide the details of the window's border thickness from the web page by
- // simple re-using the window position here. So, from the point-of-view of
- // the web page, the window has no border.
- return windowRect();
-}
-
void ChromeClientImpl::focus()
{
}
@@ -162,10 +149,6 @@ WebNavigationPolicy ChromeClientImpl::getNavigationPolicy()
return WebNavigationPolicyCurrentTab;
}
-void ChromeClientImpl::show(NavigationPolicy navigationPolicy)
-{
-}
-
bool ChromeClientImpl::shouldReportDetailedMessageForSource(const String& url)
{
WebLocalFrameImpl* webframe = m_webView->mainFrameImpl();
@@ -231,11 +214,6 @@ WebScreenInfo ChromeClientImpl::screenInfo() const
return m_webView->client() ? m_webView->client()->screenInfo() : WebScreenInfo();
}
-void ChromeClientImpl::layoutUpdated(LocalFrame* frame) const
-{
- m_webView->layoutUpdated(WebLocalFrameImpl::fromFrame(frame));
-}
-
void ChromeClientImpl::setCursor(const Cursor& cursor)
{
setCursor(WebCursorInfo(cursor));
@@ -250,8 +228,4 @@ String ChromeClientImpl::acceptLanguages()
return m_webView->client()->acceptLanguages();
}
-void ChromeClientImpl::willSetInputMethodState()
-{
-}
-
} // namespace blink
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698