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

Unified Diff: sky/engine/core/frame/Location.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/frame/LocalFrame.cpp ('k') | sky/engine/core/frame/Location.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/Location.h
diff --git a/sky/engine/core/frame/Location.h b/sky/engine/core/frame/Location.h
index 9c4c35982e68a7b3fa3401812fe4e1ca0af0d844..563c21e034995a6c91714e5679f60374b4041754 100644
--- a/sky/engine/core/frame/Location.h
+++ b/sky/engine/core/frame/Location.h
@@ -29,7 +29,7 @@
#ifndef SKY_ENGINE_CORE_FRAME_LOCATION_H_
#define SKY_ENGINE_CORE_FRAME_LOCATION_H_
-#include "sky/engine/bindings/core/v8/ScriptWrappable.h"
+#include "sky/engine/tonic/dart_wrappable.h"
#include "sky/engine/core/frame/DOMWindowProperty.h"
#include "sky/engine/wtf/PassRefPtr.h"
#include "sky/engine/wtf/RefCounted.h"
@@ -42,7 +42,7 @@ class ExceptionState;
class LocalFrame;
class KURL;
-class Location final : public RefCounted<Location>, public ScriptWrappable, public DOMWindowProperty {
+class Location final : public RefCounted<Location>, public DartWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtr<Location> create(LocalFrame* frame)
@@ -50,33 +50,33 @@ public:
return adoptRef(new Location(frame));
}
- void setHref(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHref(const String&);
String href() const;
- void assign(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
- void replace(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
- void reload(LocalDOMWindow* callingWindow);
+ void assign(const String&);
+ void replace(const String&);
+ void reload();
- void setProtocol(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
+ void setProtocol(const String&, ExceptionState&);
String protocol() const;
- void setHost(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHost(const String&);
String host() const;
- void setHostname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHostname(const String&);
String hostname() const;
- void setPort(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setPort(const String&);
String port() const;
- void setPathname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setPathname(const String&);
String pathname() const;
- void setSearch(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setSearch(const String&);
String search() const;
- void setHash(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHash(const String&);
String hash() const;
String origin() const;
private:
explicit Location(LocalFrame*);
- void setLocation(const String&, LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow);
+ void setLocation(const String&);
const KURL& url() const;
};
« no previous file with comments | « sky/engine/core/frame/LocalFrame.cpp ('k') | sky/engine/core/frame/Location.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698