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

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

Issue 1973133002: ✀ Remove postMessage plumbing for swappedout:// ✀ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to use std::move instead of release(). Created 4 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) 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont ext. 199 // FIXME: This shouldn't be public once LocalDOMWindow becomes ExecutionCont ext.
200 void clearEventQueue(); 200 void clearEventQueue();
201 201
202 void acceptLanguagesChanged(); 202 void acceptLanguagesChanged();
203 203
204 protected: 204 protected:
205 // EventTarget overrides. 205 // EventTarget overrides.
206 void addedEventListener(const AtomicString& eventType, RegisteredEventListen er&) override; 206 void addedEventListener(const AtomicString& eventType, RegisteredEventListen er&) override;
207 void removedEventListener(const AtomicString& eventType, const RegisteredEve ntListener&) override; 207 void removedEventListener(const AtomicString& eventType, const RegisteredEve ntListener&) override;
208 208
209 // Protected DOMWindow overrides.
210 void schedulePostMessage(MessageEvent*, PassRefPtr<SecurityOrigin> target, D ocument* source) override;
211
209 private: 212 private:
210 class WindowFrameObserver; 213 class WindowFrameObserver;
211 214
212 explicit LocalDOMWindow(LocalFrame&); 215 explicit LocalDOMWindow(LocalFrame&);
213 void dispose(); 216 void dispose();
214 217
215 void dispatchLoadEvent(); 218 void dispatchLoadEvent();
216 void clearDocument(); 219 void clearDocument();
217 void willDestroyDocumentInFrame(); 220 void willDestroyDocumentInFrame();
218 221
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 } 260 }
258 261
259 inline String LocalDOMWindow::defaultStatus() const 262 inline String LocalDOMWindow::defaultStatus() const
260 { 263 {
261 return m_defaultStatus; 264 return m_defaultStatus;
262 } 265 }
263 266
264 } // namespace blink 267 } // namespace blink
265 268
266 #endif // LocalDOMWindow_h 269 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameClient.h ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698