| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void setRenderer(RenderNamedFlowThread* parentFlowThread); | 71 void setRenderer(RenderNamedFlowThread* parentFlowThread); |
| 72 | 72 |
| 73 enum FlowState { | 73 enum FlowState { |
| 74 FlowStateCreated, | 74 FlowStateCreated, |
| 75 FlowStateNull | 75 FlowStateNull |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 FlowState flowState() const { return m_parentFlowThread ? FlowStateCreated :
FlowStateNull; } | 78 FlowState flowState() const { return m_parentFlowThread ? FlowStateCreated :
FlowStateNull; } |
| 79 | 79 |
| 80 void dispatchRegionLayoutUpdateEvent(); | 80 void dispatchRegionLayoutUpdateEvent(); |
| 81 void dispatchRegionOversetChangeEvent(); |
| 81 | 82 |
| 82 private: | 83 private: |
| 83 NamedFlow(PassRefPtr<NamedFlowCollection>, const AtomicString&); | 84 NamedFlow(PassRefPtr<NamedFlowCollection>, const AtomicString&); |
| 84 | 85 |
| 85 // EventTarget implementation. | 86 // EventTarget implementation. |
| 86 virtual void refEventTarget() { ref(); } | 87 virtual void refEventTarget() { ref(); } |
| 87 virtual void derefEventTarget() { deref(); } | 88 virtual void derefEventTarget() { deref(); } |
| 88 | 89 |
| 89 virtual EventTargetData* eventTargetData() OVERRIDE; | 90 virtual EventTargetData* eventTargetData() OVERRIDE; |
| 90 virtual EventTargetData* ensureEventTargetData() OVERRIDE; | 91 virtual EventTargetData* ensureEventTargetData() OVERRIDE; |
| 91 | 92 |
| 92 // The name of the flow thread as specified in CSS. | 93 // The name of the flow thread as specified in CSS. |
| 93 AtomicString m_flowThreadName; | 94 AtomicString m_flowThreadName; |
| 94 | 95 |
| 95 RefPtr<NamedFlowCollection> m_flowManager; | 96 RefPtr<NamedFlowCollection> m_flowManager; |
| 96 RenderNamedFlowThread* m_parentFlowThread; | 97 RenderNamedFlowThread* m_parentFlowThread; |
| 97 | 98 |
| 98 EventTargetData m_eventTargetData; | 99 EventTargetData m_eventTargetData; |
| 99 }; | 100 }; |
| 100 | 101 |
| 101 } | 102 } |
| 102 | 103 |
| 103 #endif | 104 #endif |
| OLD | NEW |