| OLD | NEW |
| 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 26 matching lines...) Expand all Loading... |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class DocumentLifecycle { | 39 class DocumentLifecycle { |
| 40 WTF_MAKE_NONCOPYABLE(DocumentLifecycle); | 40 WTF_MAKE_NONCOPYABLE(DocumentLifecycle); |
| 41 public: | 41 public: |
| 42 enum State { | 42 enum State { |
| 43 Uninitialized, | 43 Uninitialized, |
| 44 Inactive, | 44 Inactive, |
| 45 | 45 |
| 46 // When the document is active, it traverses these states. | 46 // When the document is active, it traverses these states. |
| 47 | |
| 48 VisualUpdatePending, | 47 VisualUpdatePending, |
| 49 | 48 |
| 50 InStyleRecalc, | 49 InStyleRecalc, |
| 51 StyleClean, | 50 StyleClean, |
| 52 | 51 |
| 53 InPreLayout, | 52 InPreLayout, |
| 54 InPerformLayout, | 53 InPerformLayout, |
| 55 AfterPerformLayout, | 54 AfterPerformLayout, |
| 56 LayoutClean, | 55 LayoutClean, |
| 57 | 56 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 || m_state == StyleClean | 157 || m_state == StyleClean |
| 159 || m_state == InPreLayout | 158 || m_state == InPreLayout |
| 160 || m_state == LayoutClean | 159 || m_state == LayoutClean |
| 161 || m_state == PaintInvalidationClean | 160 || m_state == PaintInvalidationClean |
| 162 || m_state == Stopping; | 161 || m_state == Stopping; |
| 163 } | 162 } |
| 164 | 163 |
| 165 } | 164 } |
| 166 | 165 |
| 167 #endif // SKY_ENGINE_CORE_DOM_DOCUMENTLIFECYCLE_H_ | 166 #endif // SKY_ENGINE_CORE_DOM_DOCUMENTLIFECYCLE_H_ |
| OLD | NEW |