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

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

Issue 329303009: Cleanup [RuntimeEnabled] use in Window (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 6 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 | « Source/bindings/scripts/v8_utilities.py ('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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 FrameConsole* frameConsole() const; 226 FrameConsole* frameConsole() const;
227 227
228 void printErrorMessage(const String&); 228 void printErrorMessage(const String&);
229 String crossDomainAccessErrorMessage(DOMWindow* callingWindow); 229 String crossDomainAccessErrorMessage(DOMWindow* callingWindow);
230 String sanitizedCrossDomainAccessErrorMessage(DOMWindow* callingWindow); 230 String sanitizedCrossDomainAccessErrorMessage(DOMWindow* callingWindow);
231 231
232 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&); 232 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag ePortArray*, const String& targetOrigin, DOMWindow* source, ExceptionState&);
233 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>); 233 void postMessageTimerFired(PassOwnPtr<PostMessageTimer>);
234 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO rigin, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); 234 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO rigin, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>);
235 235
236 void scrollBy(int x, int y) const;
236 void scrollBy(int x, int y, const Dictionary& scrollOptions, ExceptionSt ate&) const; 237 void scrollBy(int x, int y, const Dictionary& scrollOptions, ExceptionSt ate&) const;
238 void scrollTo(int x, int y) const;
237 void scrollTo(int x, int y, const Dictionary& scrollOptions, ExceptionSt ate&) const; 239 void scrollTo(int x, int y, const Dictionary& scrollOptions, ExceptionSt ate&) const;
240 void scroll(int x, int y) const { scrollTo(x, y); }
238 void scroll(int x, int y, const Dictionary& scrollOptions, ExceptionStat e& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); } 241 void scroll(int x, int y, const Dictionary& scrollOptions, ExceptionStat e& exceptionState) const { scrollTo(x, y, scrollOptions, exceptionState); }
239 242
240 void moveBy(float x, float y) const; 243 void moveBy(float x, float y) const;
241 void moveTo(float x, float y) const; 244 void moveTo(float x, float y) const;
242 245
243 void resizeBy(float x, float y) const; 246 void resizeBy(float x, float y) const;
244 void resizeTo(float width, float height) const; 247 void resizeTo(float width, float height) const;
245 248
246 // WebKit animation extensions 249 // WebKit animation extensions
247 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); 250 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 } 403 }
401 404
402 inline String DOMWindow::defaultStatus() const 405 inline String DOMWindow::defaultStatus() const
403 { 406 {
404 return m_defaultStatus; 407 return m_defaultStatus;
405 } 408 }
406 409
407 } // namespace WebCore 410 } // namespace WebCore
408 411
409 #endif // DOMWindow_h 412 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_utilities.py ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698