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

Side by Side Diff: third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h

Issue 2634713002: Remove PageVisibilityObserver contextDestroyed() notifications. (Closed)
Patch Set: prefer type aliases Created 3 years, 11 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SynchronousMutationObserver_h 5 #ifndef SynchronousMutationObserver_h
6 #define SynchronousMutationObserver_h 6 #define SynchronousMutationObserver_h
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "platform/LifecycleObserver.h" 10 #include "platform/LifecycleObserver.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 unsigned offset, 58 unsigned offset,
59 unsigned oldLength, 59 unsigned oldLength,
60 unsigned newLength); 60 unsigned newLength);
61 61
62 // Called before removing container node. 62 // Called before removing container node.
63 virtual void nodeChildrenWillBeRemoved(ContainerNode&); 63 virtual void nodeChildrenWillBeRemoved(ContainerNode&);
64 64
65 // Called before removing node. 65 // Called before removing node.
66 virtual void nodeWillBeRemoved(Node&); 66 virtual void nodeWillBeRemoved(Node&);
67 67
68 // Called when detaching document.
69 virtual void contextDestroyed(Document*) {}
70
68 protected: 71 protected:
69 SynchronousMutationObserver(); 72 SynchronousMutationObserver();
70 73
71 private: 74 private:
72 DISALLOW_COPY_AND_ASSIGN(SynchronousMutationObserver); 75 DISALLOW_COPY_AND_ASSIGN(SynchronousMutationObserver);
73 }; 76 };
74 77
75 } // namespace blink 78 } // namespace blink
76 79
77 #endif // SynchronousMutationObserver_h 80 #endif // SynchronousMutationObserver_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContextLifecycleObserver.h ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698