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

Side by Side Diff: sky/engine/core/dom/ExecutionContext.cpp

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 18 matching lines...) Expand all
29 #include "core/dom/ExecutionContext.h" 29 #include "core/dom/ExecutionContext.h"
30 30
31 #include "core/dom/ContextLifecycleNotifier.h" 31 #include "core/dom/ContextLifecycleNotifier.h"
32 #include "core/events/ErrorEvent.h" 32 #include "core/events/ErrorEvent.h"
33 #include "core/events/EventTarget.h" 33 #include "core/events/EventTarget.h"
34 #include "core/inspector/ScriptCallStack.h" 34 #include "core/inspector/ScriptCallStack.h"
35 #include "wtf/MainThread.h" 35 #include "wtf/MainThread.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class ExecutionContext::PendingException : public DummyBase<ExecutionContext::Pe ndingException> { 39 class ExecutionContext::PendingException {
40 WTF_MAKE_NONCOPYABLE(PendingException); 40 WTF_MAKE_NONCOPYABLE(PendingException);
41 public: 41 public:
42 PendingException(const String& errorMessage, int lineNumber, int columnNumbe r, int scriptId, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack) 42 PendingException(const String& errorMessage, int lineNumber, int columnNumbe r, int scriptId, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack)
43 : m_errorMessage(errorMessage) 43 : m_errorMessage(errorMessage)
44 , m_lineNumber(lineNumber) 44 , m_lineNumber(lineNumber)
45 , m_columnNumber(columnNumber) 45 , m_columnNumber(columnNumber)
46 , m_scriptId(scriptId) 46 , m_scriptId(scriptId)
47 , m_sourceURL(sourceURL) 47 , m_sourceURL(sourceURL)
48 , m_callStack(callStack) 48 , m_callStack(callStack)
49 { 49 {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 { 230 {
231 return static_cast<ContextLifecycleNotifier&>(LifecycleContext<ExecutionCont ext>::lifecycleNotifier()); 231 return static_cast<ContextLifecycleNotifier&>(LifecycleContext<ExecutionCont ext>::lifecycleNotifier());
232 } 232 }
233 233
234 bool ExecutionContext::isIteratingOverObservers() const 234 bool ExecutionContext::isIteratingOverObservers() const
235 { 235 {
236 return m_lifecycleNotifier && m_lifecycleNotifier->isIteratingOverObservers( ); 236 return m_lifecycleNotifier && m_lifecycleNotifier->isIteratingOverObservers( );
237 } 237 }
238 238
239 } // namespace blink 239 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/dom/ElementDataCache.h ('k') | sky/engine/core/dom/IncrementLoadEventDelayCount.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698