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

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

Issue 1008113002: Remove LifecycleNotifier<>::m_context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/core/dom/ContextLifecycleNotifier.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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2013 Google Inc. All Rights Reserved. 3 * Copyright (C) 2013 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 30 matching lines...) Expand all
41 void addObserver(ContextLifecycleObserver*); 41 void addObserver(ContextLifecycleObserver*);
42 42
43 void notifyResumingActiveDOMObjects(); 43 void notifyResumingActiveDOMObjects();
44 void notifySuspendingActiveDOMObjects(); 44 void notifySuspendingActiveDOMObjects();
45 void notifyStoppingActiveDOMObjects(); 45 void notifyStoppingActiveDOMObjects();
46 46
47 unsigned activeDOMObjectCount() const; 47 unsigned activeDOMObjectCount() const;
48 bool hasPendingActivity() const; 48 bool hasPendingActivity() const;
49 49
50 protected: 50 protected:
51 explicit ContextLifecycleNotifier(ExecutionContext*);
52
53 #if ENABLE(ASSERT) 51 #if ENABLE(ASSERT)
54 bool contains(ActiveDOMObject*) const; 52 bool contains(ActiveDOMObject*) const;
55 #endif 53 #endif
56 }; 54 };
57 55
58 } // namespace blink 56 } // namespace blink
59 57
60 #endif // ContextLifecycleNotifier_h 58 #endif // ContextLifecycleNotifier_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/ContextLifecycleNotifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698