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

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

Issue 693603005: Remove lots of dead web/ classes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/WebDatabase.cpp ('k') | sky/engine/web/WebDocumentType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebDocument.cpp
diff --git a/sky/engine/web/WebDocument.cpp b/sky/engine/web/WebDocument.cpp
index d20426220a2096b73e406fb2edf9026f366b46cc..cdff0c58d7e8dfae6cadd5d54df4362f0dec7d3c 100644
--- a/sky/engine/web/WebDocument.cpp
+++ b/sky/engine/web/WebDocument.cpp
@@ -44,8 +44,6 @@
#include "core/rendering/RenderObject.h"
#include "core/rendering/RenderView.h"
#include "public/platform/WebURL.h"
-#include "public/web/WebDOMEvent.h"
-#include "public/web/WebDocumentType.h"
#include "public/web/WebElement.h"
#include "web/WebLocalFrameImpl.h"
#include "wtf/PassRefPtr.h"
@@ -113,15 +111,6 @@ WebElement WebDocument::focusedElement() const
return WebElement(constUnwrap<Document>()->focusedElement());
}
-WebDOMEvent WebDocument::createEvent(const WebString& eventType)
-{
- TrackExceptionState exceptionState;
- WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState));
- if (exceptionState.hadException())
- return WebDOMEvent();
- return event;
-}
-
WebReferrerPolicy WebDocument::referrerPolicy() const
{
return static_cast<WebReferrerPolicy>(constUnwrap<Document>()->referrerPolicy());
« no previous file with comments | « sky/engine/web/WebDatabase.cpp ('k') | sky/engine/web/WebDocumentType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698