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

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

Issue 1290893005: Remove DocumentLifecycle::Scope's setFinalState, nothing uses it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | 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) 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 Stopped, 77 Stopped,
78 Disposed, 78 Disposed,
79 }; 79 };
80 80
81 class Scope { 81 class Scope {
82 WTF_MAKE_NONCOPYABLE(Scope); 82 WTF_MAKE_NONCOPYABLE(Scope);
83 public: 83 public:
84 Scope(DocumentLifecycle&, State finalState); 84 Scope(DocumentLifecycle&, State finalState);
85 ~Scope(); 85 ~Scope();
86 86
87 void setFinalState(State finalState) { m_finalState = finalState; }
88
89 private: 87 private:
90 DocumentLifecycle& m_lifecycle; 88 DocumentLifecycle& m_lifecycle;
91 State m_finalState; 89 State m_finalState;
92 }; 90 };
93 91
94 class DeprecatedTransition { 92 class DeprecatedTransition {
95 WTF_MAKE_NONCOPYABLE(DeprecatedTransition); 93 WTF_MAKE_NONCOPYABLE(DeprecatedTransition);
96 public: 94 public:
97 DeprecatedTransition(State from, State to); 95 DeprecatedTransition(State from, State to);
98 ~DeprecatedTransition(); 96 ~DeprecatedTransition();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 return m_state != InPerformLayout 196 return m_state != InPerformLayout
199 && m_state != InCompositingUpdate 197 && m_state != InCompositingUpdate
200 && m_state != InPaintInvalidation 198 && m_state != InPaintInvalidation
201 && m_state != InPaintForSlimmingPaintV2 199 && m_state != InPaintForSlimmingPaintV2
202 && m_state != InCompositingForSlimmingPaintV2; 200 && m_state != InCompositingForSlimmingPaintV2;
203 } 201 }
204 202
205 } // namespace blink 203 } // namespace blink
206 204
207 #endif 205 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698