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

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

Issue 1109213002: Make createWindow (mostly) work with OOPIF (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix style, use FrameView::root Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/LocalDOMWindow.cpp » ('j') | Source/platform/PlatformScreen.cpp » ('J')
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void cancelAnimationFrame(int id) override; 147 void cancelAnimationFrame(int id) override;
148 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack Trace); 148 void schedulePostMessage(PassRefPtrWillBeRawPtr<MessageEvent>, LocalDOMWindo w* source, SecurityOrigin* target, PassRefPtrWillBeRawPtr<ScriptCallStack> stack Trace);
149 149
150 void registerProperty(DOMWindowProperty*); 150 void registerProperty(DOMWindowProperty*);
151 void unregisterProperty(DOMWindowProperty*); 151 void unregisterProperty(DOMWindowProperty*);
152 152
153 void reset(); 153 void reset();
154 154
155 unsigned pendingUnloadEventListeners() const; 155 unsigned pendingUnloadEventListeners() const;
156 156
157 static IntRect adjustWindowRect(LocalFrame&, const IntRect& pendingChanges);
158
159 bool allowPopUp(); // Call on first window, not target window. 157 bool allowPopUp(); // Call on first window, not target window.
160 static bool allowPopUp(LocalFrame& firstFrame); 158 static bool allowPopUp(LocalFrame& firstFrame);
161 159
162 Element* frameElement() const; 160 Element* frameElement() const;
163 161
164 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const Atomic String& frameName, const String& windowFeaturesString, 162 PassRefPtrWillBeRawPtr<DOMWindow> open(const String& urlString, const Atomic String& frameName, const String& windowFeaturesString,
165 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow); 163 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow);
166 164
167 FrameConsole* frameConsole() const; 165 FrameConsole* frameConsole() const;
168 166
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 } 285 }
288 286
289 inline String LocalDOMWindow::defaultStatus() const 287 inline String LocalDOMWindow::defaultStatus() const
290 { 288 {
291 return m_defaultStatus; 289 return m_defaultStatus;
292 } 290 }
293 291
294 } // namespace blink 292 } // namespace blink
295 293
296 #endif // LocalDOMWindow_h 294 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/LocalDOMWindow.cpp » ('j') | Source/platform/PlatformScreen.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698