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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 18 matching lines...) Expand all
29 29
30 #include "core/CoreExport.h" 30 #include "core/CoreExport.h"
31 #include "core/events/EventTarget.h" 31 #include "core/events/EventTarget.h"
32 #include "core/frame/DOMWindow.h" 32 #include "core/frame/DOMWindow.h"
33 #include "core/frame/DOMWindowLifecycleNotifier.h" 33 #include "core/frame/DOMWindowLifecycleNotifier.h"
34 #include "core/frame/DOMWindowLifecycleObserver.h" 34 #include "core/frame/DOMWindowLifecycleObserver.h"
35 #include "core/frame/LocalFrame.h" 35 #include "core/frame/LocalFrame.h"
36 #include "core/frame/LocalFrameLifecycleObserver.h" 36 #include "core/frame/LocalFrameLifecycleObserver.h"
37 #include "platform/Supplementable.h" 37 #include "platform/Supplementable.h"
38 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
39
39 #include "wtf/Assertions.h" 40 #include "wtf/Assertions.h"
40 #include "wtf/Forward.h" 41 #include "wtf/Forward.h"
41 #include <memory>
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class CustomElementsRegistry; 45 class CustomElementsRegistry;
46 class DOMWindowEventQueue; 46 class DOMWindowEventQueue;
47 class DOMWindowProperty; 47 class DOMWindowProperty;
48 class DocumentInit; 48 class DocumentInit;
49 class EventListener; 49 class EventListener;
50 class EventQueue; 50 class EventQueue;
51 class ExceptionState; 51 class ExceptionState;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 DOMWindow* open(const String& urlString, const AtomicString& frameName, cons t String& windowFeaturesString, 164 DOMWindow* open(const String& urlString, const AtomicString& frameName, cons t String& windowFeaturesString,
165 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); 165 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow);
166 166
167 FrameConsole* frameConsole() const; 167 FrameConsole* frameConsole() const;
168 168
169 void printErrorMessage(const String&) const; 169 void printErrorMessage(const String&) const;
170 170
171 void postMessageTimerFired(PostMessageTimer*); 171 void postMessageTimerFired(PostMessageTimer*);
172 void removePostMessageTimer(PostMessageTimer*); 172 void removePostMessageTimer(PostMessageTimer*);
173 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, Event*, std::unique_ptr<SourceLocation>); 173 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, Event*, PassOwnPtr<SourceLocation>);
174 174
175 // Events 175 // Events
176 // EventTarget API 176 // EventTarget API
177 void removeAllEventListeners() override; 177 void removeAllEventListeners() override;
178 178
179 using EventTarget::dispatchEvent; 179 using EventTarget::dispatchEvent;
180 DispatchEventResult dispatchEvent(Event*, EventTarget*); 180 DispatchEventResult dispatchEvent(Event*, EventTarget*);
181 181
182 void finishedLoading(); 182 void finishedLoading();
183 183
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 266 }
267 267
268 inline String LocalDOMWindow::defaultStatus() const 268 inline String LocalDOMWindow::defaultStatus() const
269 { 269 {
270 return m_defaultStatus; 270 return m_defaultStatus;
271 } 271 }
272 272
273 } // namespace blink 273 } // namespace blink
274 274
275 #endif // LocalDOMWindow_h 275 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698