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: Source/core/frame/DOMWindow.h

Issue 115293005: Add a layer of indirection between Frame and Page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make GCC happy Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 328
329 protected: 329 protected:
330 DOMWindowLifecycleNotifier& lifecycleNotifier(); 330 DOMWindowLifecycleNotifier& lifecycleNotifier();
331 331
332 private: 332 private:
333 explicit DOMWindow(Frame*); 333 explicit DOMWindow(Frame*);
334 334
335 Page* page(); 335 Page* page();
336 336
337 virtual void frameDestroyed() OVERRIDE; 337 virtual void frameDestroyed() OVERRIDE;
338 virtual void willDetachPage() OVERRIDE; 338 virtual void willDetachFrameHost() OVERRIDE;
339 339
340 void clearDocument(); 340 void clearDocument();
341 void resetDOMWindowProperties(); 341 void resetDOMWindowProperties();
342 void willDestroyDocumentInFrame(); 342 void willDestroyDocumentInFrame();
343 343
344 RefPtr<Document> m_document; 344 RefPtr<Document> m_document;
345 345
346 bool m_shouldPrintWhenFinishedLoading; 346 bool m_shouldPrintWhenFinishedLoading;
347 347
348 HashSet<DOMWindowProperty*> m_properties; 348 HashSet<DOMWindowProperty*> m_properties;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 } 381 }
382 382
383 inline String DOMWindow::defaultStatus() const 383 inline String DOMWindow::defaultStatus() const
384 { 384 {
385 return m_defaultStatus; 385 return m_defaultStatus;
386 } 386 }
387 387
388 } // namespace WebCore 388 } // namespace WebCore
389 389
390 #endif // DOMWindow_h 390 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698