| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 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 16 matching lines...) Expand all Loading... |
| 27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 | 31 |
| 32 #include "core/rendering/FlowThreadController.h" | 32 #include "core/rendering/FlowThreadController.h" |
| 33 | 33 |
| 34 #include "core/dom/NamedFlowCollection.h" | 34 #include "core/dom/NamedFlowCollection.h" |
| 35 #include "core/rendering/RenderFlowThread.h" | 35 #include "core/rendering/RenderFlowThread.h" |
| 36 #include "core/rendering/RenderNamedFlowThread.h" | 36 #include "core/rendering/RenderNamedFlowThread.h" |
| 37 #include "core/rendering/style/StyleInheritedData.h" | |
| 38 #include <wtf/text/AtomicString.h> | 37 #include <wtf/text/AtomicString.h> |
| 39 | 38 |
| 40 namespace WebCore { | 39 namespace WebCore { |
| 41 | 40 |
| 42 PassOwnPtr<FlowThreadController> FlowThreadController::create(RenderView* view) | 41 PassOwnPtr<FlowThreadController> FlowThreadController::create(RenderView* view) |
| 43 { | 42 { |
| 44 return adoptPtr(new FlowThreadController(view)); | 43 return adoptPtr(new FlowThreadController(view)); |
| 45 } | 44 } |
| 46 | 45 |
| 47 FlowThreadController::FlowThreadController(RenderView* view) | 46 FlowThreadController::FlowThreadController(RenderView* view) |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 for (RenderNamedFlowThreadList::iterator iter = m_renderNamedFlowThreadList-
>begin(); iter != m_renderNamedFlowThreadList->end(); ++iter) { | 234 for (RenderNamedFlowThreadList::iterator iter = m_renderNamedFlowThreadList-
>begin(); iter != m_renderNamedFlowThreadList->end(); ++iter) { |
| 236 if (!(*iter)->isAutoLogicalHeightRegionsCountConsistent()) | 235 if (!(*iter)->isAutoLogicalHeightRegionsCountConsistent()) |
| 237 return false; | 236 return false; |
| 238 } | 237 } |
| 239 | 238 |
| 240 return true; | 239 return true; |
| 241 } | 240 } |
| 242 #endif | 241 #endif |
| 243 | 242 |
| 244 } // namespace WebCore | 243 } // namespace WebCore |
| OLD | NEW |