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

Unified Diff: sky/engine/core/loader/EmptyClients.h

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/core/html/HTMLAnchorElement.cpp ('k') | sky/engine/core/loader/EmptyClients.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/loader/EmptyClients.h
diff --git a/sky/engine/core/loader/EmptyClients.h b/sky/engine/core/loader/EmptyClients.h
index 7c79dfdaf2406fe9f8399d3a4340d6c5b176df63..9151be8608efac11f650934bb5fb5ea19cf27136 100644
--- a/sky/engine/core/loader/EmptyClients.h
+++ b/sky/engine/core/loader/EmptyClients.h
@@ -58,40 +58,6 @@
namespace blink {
-class EmptyChromeClient : public ChromeClient {
- WTF_MAKE_FAST_ALLOCATED;
-public:
- virtual ~EmptyChromeClient() { }
- virtual void chromeDestroyed() override { }
-
- virtual void* webView() const override { return 0; }
- virtual void setWindowRect(const FloatRect&) override { }
- virtual FloatRect windowRect() override { return FloatRect(); }
-
- virtual FloatRect pageRect() override { return FloatRect(); }
-
- virtual void focus() override { }
-
- virtual bool canTakeFocus(FocusType) override { return false; }
- virtual void takeFocus(FocusType) override { }
-
- virtual void focusedNodeChanged(Node*) override { }
- virtual void focusedFrameChanged(LocalFrame*) override { }
- virtual void show(NavigationPolicy) override { }
-
- virtual bool shouldReportDetailedMessageForSource(const String&) override { return false; }
- virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, const String&, unsigned, const String&, const String&) override { }
-
- virtual void scheduleVisualUpdate() override { }
-
- virtual IntRect rootViewToScreen(const IntRect& r) const override { return r; }
- virtual blink::WebScreenInfo screenInfo() const override { return blink::WebScreenInfo(); }
-
- virtual void setCursor(const Cursor&) override { }
-
- virtual String acceptLanguages() override;
-};
-
class EmptyFrameLoaderClient : public FrameLoaderClient {
WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED;
public:
« no previous file with comments | « sky/engine/core/html/HTMLAnchorElement.cpp ('k') | sky/engine/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698