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

Side by Side Diff: third_party/WebKit/Source/core/frame/Location.h

Issue 2826393004: v8binding: Makes Location's wrapper objects alive, really. (Closed)
Patch Set: Added a layout test. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "bindings/core/v8/ScriptValue.h" 32 #include "bindings/core/v8/ScriptValue.h"
33 #include "bindings/core/v8/ScriptWrappable.h" 33 #include "bindings/core/v8/ScriptWrappable.h"
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/dom/DOMStringList.h" 35 #include "core/dom/DOMStringList.h"
36 #include "core/frame/DOMWindow.h" 36 #include "core/frame/DOMWindow.h"
37 #include "platform/wtf/text/WTFString.h" 37 #include "platform/wtf/text/WTFString.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class Document; 41 class Document;
42 class LocalDOMWindow;
43 class ExceptionState; 42 class ExceptionState;
44 class KURL; 43 class KURL;
44 class LocalDOMWindow;
45 45
46 // This class corresponds to the Location interface. Location is the only 46 // This class corresponds to the Location interface. Location is the only
47 // interface besides Window that is accessible cross-origin and must handle 47 // interface besides Window that is accessible cross-origin and must handle
48 // remote frames. 48 // remote frames.
49 // 49 //
50 // HTML standard: https://whatwg.org/C/browsers.html#the-location-interface 50 // HTML standard: https://whatwg.org/C/browsers.html#the-location-interface
51 class CORE_EXPORT Location final : public GarbageCollected<Location>, 51 class CORE_EXPORT Location final : public GarbageCollected<Location>,
52 public ScriptWrappable { 52 public ScriptWrappable {
53 DEFINE_WRAPPERTYPEINFO(); 53 DEFINE_WRAPPERTYPEINFO();
54 54
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 SetLocationPolicy = SetLocationPolicy::kNormal); 142 SetLocationPolicy = SetLocationPolicy::kNormal);
143 143
144 const KURL& Url() const; 144 const KURL& Url() const;
145 145
146 const Member<DOMWindow> dom_window_; 146 const Member<DOMWindow> dom_window_;
147 }; 147 };
148 148
149 } // namespace blink 149 } // namespace blink
150 150
151 #endif // Location_h 151 #endif // Location_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/Location.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698