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

Side by Side Diff: Source/core/dom/ExecutionContext.h

Issue 325143002: Oilpan: Prepare moving inspector script related classes to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2012 Google Inc. All Rights Reserved. 3 * Copyright (C) 2012 Google Inc. All Rights Reserved.
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const KURL& url() const; 78 const KURL& url() const;
79 KURL completeURL(const String& url) const; 79 KURL completeURL(const String& url) const;
80 void disableEval(const String& errorMessage); 80 void disableEval(const String& errorMessage);
81 DOMWindow* executingWindow() const; 81 DOMWindow* executingWindow() const;
82 String userAgent(const KURL&) const; 82 String userAgent(const KURL&) const;
83 void postTask(PassOwnPtr<ExecutionContextTask>); 83 void postTask(PassOwnPtr<ExecutionContextTask>);
84 void postTask(const Closure&); 84 void postTask(const Closure&);
85 double timerAlignmentInterval() const; 85 double timerAlignmentInterval() const;
86 86
87 bool shouldSanitizeScriptError(const String& sourceURL, AccessControlStatus) ; 87 bool shouldSanitizeScriptError(const String& sourceURL, AccessControlStatus) ;
88 void reportException(PassRefPtrWillBeRawPtr<ErrorEvent>, PassRefPtr<ScriptCa llStack>, AccessControlStatus); 88 void reportException(PassRefPtrWillBeRawPtr<ErrorEvent>, PassRefPtrWillBeRaw Ptr<ScriptCallStack>, AccessControlStatus);
89 89
90 void addConsoleMessage(MessageSource, MessageLevel, const String& message, c onst String& sourceURL, unsigned lineNumber); 90 void addConsoleMessage(MessageSource, MessageLevel, const String& message, c onst String& sourceURL, unsigned lineNumber);
91 void addConsoleMessage(MessageSource, MessageLevel, const String& message, S criptState* = 0); 91 void addConsoleMessage(MessageSource, MessageLevel, const String& message, S criptState* = 0);
92 92
93 PublicURLManager& publicURLManager(); 93 PublicURLManager& publicURLManager();
94 94
95 // Active objects are not garbage collected even if inaccessible, e.g. becau se their activity may result in callbacks being invoked. 95 // Active objects are not garbage collected even if inaccessible, e.g. becau se their activity may result in callbacks being invoked.
96 bool hasPendingActivity(); 96 bool hasPendingActivity();
97 97
98 void suspendActiveDOMObjects(); 98 void suspendActiveDOMObjects();
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 // The location of this member is important; to make sure contextDestroyed() notification on 167 // The location of this member is important; to make sure contextDestroyed() notification on
168 // ExecutionContext's members (notably m_timeouts) is called before they are destructed, 168 // ExecutionContext's members (notably m_timeouts) is called before they are destructed,
169 // m_lifecycleNotifer should be placed *after* such members. 169 // m_lifecycleNotifer should be placed *after* such members.
170 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier; 170 OwnPtr<ContextLifecycleNotifier> m_lifecycleNotifier;
171 }; 171 };
172 172
173 } // namespace WebCore 173 } // namespace WebCore
174 174
175 #endif // ExecutionContext_h 175 #endif // ExecutionContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698