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

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

Issue 524523003: Revert of Remove webkitConvertPointFromPageToNode() and webkitConvertPointFromNodeToPage() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 3 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/core/dom/Node.cpp ('k') | Source/core/frame/LocalDOMWindow.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 26 matching lines...) Expand all
37 #include "platform/scroll/ScrollableArea.h" 37 #include "platform/scroll/ScrollableArea.h"
38 38
39 #include "wtf/Forward.h" 39 #include "wtf/Forward.h"
40 40
41 namespace blink { 41 namespace blink {
42 class ApplicationCache; 42 class ApplicationCache;
43 class BarProp; 43 class BarProp;
44 class CSSRuleList; 44 class CSSRuleList;
45 class CSSStyleDeclaration; 45 class CSSStyleDeclaration;
46 class Console; 46 class Console;
47 class WebKitPoint;
47 class DOMSelection; 48 class DOMSelection;
48 class DOMURL; 49 class DOMURL;
49 class DOMWindowProperty; 50 class DOMWindowProperty;
50 class Database; 51 class Database;
51 class DatabaseCallback; 52 class DatabaseCallback;
52 class Document; 53 class Document;
53 class DocumentInit; 54 class DocumentInit;
54 class DOMWindowEventQueue; 55 class DOMWindowEventQueue;
55 class DOMWindowLifecycleNotifier; 56 class DOMWindowLifecycleNotifier;
56 class Element; 57 class Element;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 212
212 // DOM Level 2 Style Interface 213 // DOM Level 2 Style Interface
213 214
214 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, c onst String& pseudoElt) const; 215 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, c onst String& pseudoElt) const;
215 216
216 // WebKit extensions 217 // WebKit extensions
217 218
218 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const S tring& pseudoElt) const; 219 PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const S tring& pseudoElt) const;
219 double devicePixelRatio() const; 220 double devicePixelRatio() const;
220 221
222 PassRefPtrWillBeRawPtr<WebKitPoint> webkitConvertPointFromPageToNode(Nod e*, const WebKitPoint*) const;
223 PassRefPtrWillBeRawPtr<WebKitPoint> webkitConvertPointFromNodeToPage(Nod e*, const WebKitPoint*) const;
224
221 Console& console() const; 225 Console& console() const;
222 FrameConsole* frameConsole() const; 226 FrameConsole* frameConsole() const;
223 227
224 void printErrorMessage(const String&); 228 void printErrorMessage(const String&);
225 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow); 229 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow);
226 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWin dow); 230 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWin dow);
227 231
228 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag ePortArray*, const String& targetOrigin, LocalDOMWindow* source, ExceptionState& ); 232 void postMessage(PassRefPtr<SerializedScriptValue> message, const Messag ePortArray*, const String& targetOrigin, LocalDOMWindow* source, ExceptionState& );
229 void postMessageTimerFired(PostMessageTimer*); 233 void postMessageTimerFired(PostMessageTimer*);
230 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO rigin, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>); 234 void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetO rigin, PassRefPtrWillBeRawPtr<Event>, PassRefPtrWillBeRawPtr<ScriptCallStack>);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 } 405 }
402 406
403 inline String LocalDOMWindow::defaultStatus() const 407 inline String LocalDOMWindow::defaultStatus() const
404 { 408 {
405 return m_defaultStatus; 409 return m_defaultStatus;
406 } 410 }
407 411
408 } // namespace blink 412 } // namespace blink
409 413
410 #endif // DOMWindow_h 414 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698