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

Side by Side Diff: Source/core/dom/ActiveDOMObject.cpp

Issue 196543003: Remove modules/webdatabase dependency from core. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/ActiveDOMObject.h ('k') | Source/core/dom/ContextLifecycleNotifier.h » ('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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 73
74 void ActiveDOMObject::suspend() 74 void ActiveDOMObject::suspend()
75 { 75 {
76 } 76 }
77 77
78 void ActiveDOMObject::resume() 78 void ActiveDOMObject::resume()
79 { 79 {
80 } 80 }
81 81
82 void ActiveDOMObject::willStop()
83 {
84 }
85
82 void ActiveDOMObject::stop() 86 void ActiveDOMObject::stop()
83 { 87 {
84 } 88 }
85 89
86 void ActiveDOMObject::didMoveToNewExecutionContext(ExecutionContext* context) 90 void ActiveDOMObject::didMoveToNewExecutionContext(ExecutionContext* context)
87 { 91 {
88 observeContext(context); 92 observeContext(context);
89 93
90 if (context->activeDOMObjectsAreStopped()) { 94 if (context->activeDOMObjectsAreStopped()) {
91 stop(); 95 stop();
92 return; 96 return;
93 } 97 }
94 98
95 if (context->activeDOMObjectsAreSuspended()) { 99 if (context->activeDOMObjectsAreSuspended()) {
96 suspend(); 100 suspend();
97 return; 101 return;
98 } 102 }
99 103
100 resume(); 104 resume();
101 } 105 }
102 106
103 } // namespace WebCore 107 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/ActiveDOMObject.h ('k') | Source/core/dom/ContextLifecycleNotifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698