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

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

Issue 2393313002: reflow comments in core/frame (Closed)
Patch Set: tweak Created 4 years, 2 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 8cb416e83738adbd050d25b67b53ef27cde30609..2144e3e723efc2d521dfe9eb0802bc2ad99c8aeb 100644
--- a/third_party/WebKit/Source/core/frame/Location.h
+++ b/third_party/WebKit/Source/core/frame/Location.h
@@ -43,10 +43,12 @@ class ExceptionState;
class Frame;
class KURL;
-// This class corresponds to the JS Location API, which is the only DOM API besides Window that is operable
-// in a RemoteFrame. Rather than making DOMWindowProperty support RemoteFrames and generating a lot
-// code churn, Location is implemented as a one-off with some custom lifetime management code. Namely,
-// it needs a manual call to reset() from DOMWindow::reset() to ensure it doesn't retain a stale Frame pointer.
+// This class corresponds to the JS Location API, which is the only DOM API
+// besides Window that is operable in a RemoteFrame. Rather than making
+// DOMWindowProperty support RemoteFrames and generating a lot code churn,
+// Location is implemented as a one-off with some custom lifetime management
+// code. Namely, it needs a manual call to reset() from DOMWindow::reset() to
+// ensure it doesn't retain a stale Frame pointer.
class CORE_EXPORT Location final : public GarbageCollected<Location>,
public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -112,9 +114,10 @@ class CORE_EXPORT Location final : public GarbageCollected<Location>,
DOMStringList* ancestorOrigins() const;
- // Just return the |this| object the way the normal valueOf function on the Object prototype would.
- // The valueOf function is only added to make sure that it cannot be overwritten on location
- // objects, since that would provide a hook to change the string conversion behavior of location objects.
+ // Just return the |this| object the way the normal valueOf function on the
+ // Object prototype would. The valueOf function is only added to make sure
+ // that it cannot be overwritten on location objects, since that would provide
+ // a hook to change the string conversion behavior of location objects.
ScriptValue valueOf(const ScriptValue& thisObject) { return thisObject; }
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/Location.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698