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

Side by Side Diff: Source/core/page/DOMWindow.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. 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/loader/appcache/DOMApplicationCache.h ('k') | Source/core/page/EventSource.h » ('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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 , public FrameDestructionObserver 88 , public FrameDestructionObserver
89 , public Supplementable<DOMWindow> { 89 , public Supplementable<DOMWindow> {
90 DECLARE_GC_INFO 90 DECLARE_GC_INFO
91 DEFINE_SELF_HANDLE(DOMWindow) 91 DEFINE_SELF_HANDLE(DOMWindow)
92 public: 92 public:
93 static PassRefPtr<DOMWindow> create(Document* document) { return adoptRe f(new DOMWindow(document)); } 93 static PassRefPtr<DOMWindow> create(Document* document) { return adoptRe f(new DOMWindow(document)); }
94 virtual ~DOMWindow(); 94 virtual ~DOMWindow();
95 95
96 virtual void trace(Visitor*); 96 virtual void trace(Visitor*);
97 97
98 virtual void visitWith(Visitor* visitor) const OVERRIDE 98 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
99 { 99 {
100 visitor->visit(this); 100 visitor->mark(this);
101 } 101 }
102 102
103 // In some rare cases, we'll re-used a DOMWindow for a new Document. For example, 103 // In some rare cases, we'll re-used a DOMWindow for a new Document. For example,
104 // when a script calls window.open("..."), the browser gives JavaScript a window 104 // when a script calls window.open("..."), the browser gives JavaScript a window
105 // synchronously but kicks off the load in the window asynchronously. We b sites 105 // synchronously but kicks off the load in the window asynchronously. We b sites
106 // expect that modifications that they make to the window object synchro nously 106 // expect that modifications that they make to the window object synchro nously
107 // won't be blown away when the network load commits. To make that happe n, we 107 // won't be blown away when the network load commits. To make that happe n, we
108 // "securely transition" the existing DOMWindow to the Document that res ults from 108 // "securely transition" the existing DOMWindow to the Document that res ults from
109 // the network load. See also SecurityContext::isSecureTransitionTo. 109 // the network load. See also SecurityContext::isSecureTransitionTo.
110 void didSecureTransitionTo(Document*); 110 void didSecureTransitionTo(Document*);
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 } 455 }
456 456
457 inline String DOMWindow::defaultStatus() const 457 inline String DOMWindow::defaultStatus() const
458 { 458 {
459 return m_defaultStatus; 459 return m_defaultStatus;
460 } 460 }
461 461
462 } // namespace WebCore 462 } // namespace WebCore
463 463
464 #endif // DOMWindow_h 464 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/loader/appcache/DOMApplicationCache.h ('k') | Source/core/page/EventSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698