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

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

Issue 1906483002: Remove Disposed as a DocumentLifecycle state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // When RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled 74 // When RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled
75 // (implied by slimmingPaintV2Enabled). 75 // (implied by slimmingPaintV2Enabled).
76 InPaint, 76 InPaint,
77 PaintClean, 77 PaintClean,
78 78
79 // Once the document starts shutting down, we cannot return 79 // Once the document starts shutting down, we cannot return
80 // to the style/layout/compositing states. 80 // to the style/layout/compositing states.
81 Stopping, 81 Stopping,
82 Stopped, 82 Stopped,
83 Disposed,
84 }; 83 };
85 84
86 class Scope { 85 class Scope {
87 STACK_ALLOCATED(); 86 STACK_ALLOCATED();
88 WTF_MAKE_NONCOPYABLE(Scope); 87 WTF_MAKE_NONCOPYABLE(Scope);
89 public: 88 public:
90 Scope(DocumentLifecycle&, LifecycleState finalState); 89 Scope(DocumentLifecycle&, LifecycleState finalState);
91 ~Scope(); 90 ~Scope();
92 91
93 private: 92 private:
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 return m_state != InPerformLayout 215 return m_state != InPerformLayout
217 && m_state != InCompositingUpdate 216 && m_state != InCompositingUpdate
218 && m_state != InPaintInvalidation 217 && m_state != InPaintInvalidation
219 && m_state != InUpdatePaintProperties 218 && m_state != InUpdatePaintProperties
220 && m_state != InPaint; 219 && m_state != InPaint;
221 } 220 }
222 221
223 } // namespace blink 222 } // namespace blink
224 223
225 #endif 224 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698