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

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

Issue 1601283003: DevTools: deoilpanize inspector/v8 and related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 void resizeBy(int x, int y) const override; 139 void resizeBy(int x, int y) const override;
140 void resizeTo(int width, int height) const override; 140 void resizeTo(int width, int height) const override;
141 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override; 141 PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
142 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override; 142 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
143 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override; 143 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const Strin g& pseudoElt) const override;
144 int requestAnimationFrame(FrameRequestCallback*) override; 144 int requestAnimationFrame(FrameRequestCallback*) override;
145 int webkitRequestAnimationFrame(FrameRequestCallback*) override; 145 int webkitRequestAnimationFrame(FrameRequestCallback*) override;
146 void cancelAnimationFrame(int id) override; 146 void cancelAnimationFrame(int id) override;
147 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove rride; 147 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) ove rride;
148 void cancelIdleCallback(int id) override; 148 void cancelIdleCallback(int id) override;
149 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack Trace); 149 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtr<ScriptCallStack> stackTrace);
150 150
151 void registerProperty(DOMWindowProperty*); 151 void registerProperty(DOMWindowProperty*);
152 void unregisterProperty(DOMWindowProperty*); 152 void unregisterProperty(DOMWindowProperty*);
153 153
154 void reset(); 154 void reset();
155 155
156 unsigned pendingUnloadEventListeners() const; 156 unsigned pendingUnloadEventListeners() const;
157 157
158 bool allowPopUp(); // Call on first window, not target window. 158 bool allowPopUp(); // Call on first window, not target window.
159 static bool allowPopUp(LocalFrame& firstFrame); 159 static bool allowPopUp(LocalFrame& firstFrame);
160 160
161 Element* frameElement() const; 161 Element* frameElement() const;
162 162
163 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const Atomic String& frameName, const String& windowFeaturesString, 163 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const Atomic String& frameName, const String& windowFeaturesString,
164 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); 164 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow);
165 165
166 FrameConsole* frameConsole() const; 166 FrameConsole* frameConsole() const;
167 167
168 void printErrorMessage(const String&) const; 168 void printErrorMessage(const String&) const;
169 169
170 void postMessageTimerFired(PostMessageTimer*); 170 void postMessageTimerFired(PostMessageTimer*);
171 void removePostMessageTimer(PostMessageTimer*); 171 void removePostMessageTimer(PostMessageTimer*);
172 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); 172 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigi n, PassRefPtrWillBeRawPtr<Event>, PassRefPtr<ScriptCallStack>);
173 173
174 // Events 174 // Events
175 // EventTarget API 175 // EventTarget API
176 void removeAllEventListeners() override; 176 void removeAllEventListeners() override;
177 177
178 using EventTarget::dispatchEvent; 178 using EventTarget::dispatchEvent;
179 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR awPtr<EventTarget> prpTarget); 179 bool dispatchEvent(PassRefPtrWillBeRawPtr<Event> prpEvent, PassRefPtrWillBeR awPtr<EventTarget> prpTarget);
180 180
181 void dispatchLoadEvent(); 181 void dispatchLoadEvent();
182 182
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 285 }
286 286
287 inline String LocalDOMWindow::defaultStatus() const 287 inline String LocalDOMWindow::defaultStatus() const
288 { 288 {
289 return m_defaultStatus; 289 return m_defaultStatus;
290 } 290 }
291 291
292 } // namespace blink 292 } // namespace blink
293 293
294 #endif // LocalDOMWindow_h 294 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameConsole.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