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

Unified Diff: third_party/WebKit/Source/core/frame/Location.h

Issue 2371993003: Throw when blocking top-level navigation. (Closed)
Patch Set: Test. Created 4 years, 3 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
Index: third_party/WebKit/Source/core/frame/Location.h
diff --git a/third_party/WebKit/Source/core/frame/Location.h b/third_party/WebKit/Source/core/frame/Location.h
index bd11166443d1534fa019d289009dfb080273eb34..83d7140c2f200b747619f976e95a69aeb5c58193 100644
--- a/third_party/WebKit/Source/core/frame/Location.h
+++ b/third_party/WebKit/Source/core/frame/Location.h
@@ -58,7 +58,7 @@ public:
Frame* frame() const { return m_frame.get(); }
void reset() { m_frame = nullptr; }
- void setHref(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHref(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String href() const;
void assign(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
@@ -67,17 +67,17 @@ public:
void setProtocol(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String protocol() const;
- void setHost(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHost(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String host() const;
- void setHostname(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHostname(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String hostname() const;
- void setPort(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setPort(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String port() const;
- void setPathname(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setPathname(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String pathname() const;
- void setSearch(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setSearch(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String search() const;
- void setHash(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&);
+ void setHash(LocalDOMWindow* currentWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
String hash() const;
String origin() const;

Powered by Google App Engine
This is Rietveld 408576698