| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 class Document; | 41 class Document; |
| 42 class NamedFlowCollection; | 42 class NamedFlowCollection; |
| 43 class Node; | 43 class Node; |
| 44 class NodeList; | 44 class NodeList; |
| 45 class RenderNamedFlowThread; | 45 class RenderNamedFlowThread; |
| 46 class ExecutionContext; | 46 class ExecutionContext; |
| 47 | 47 |
| 48 class NamedFlow : public RefCounted<NamedFlow>, public ScriptWrappable, public E
ventTargetWithInlineData { | 48 class NamedFlow FINAL : public RefCounted<NamedFlow>, public ScriptWrappable, pu
blic EventTargetWithInlineData { |
| 49 REFCOUNTED_EVENT_TARGET(NamedFlow); | 49 REFCOUNTED_EVENT_TARGET(NamedFlow); |
| 50 public: | 50 public: |
| 51 static PassRefPtr<NamedFlow> create(PassRefPtr<NamedFlowCollection> manager,
const AtomicString& flowThreadName); | 51 static PassRefPtr<NamedFlow> create(PassRefPtr<NamedFlowCollection> manager,
const AtomicString& flowThreadName); |
| 52 | 52 |
| 53 ~NamedFlow(); | 53 virtual ~NamedFlow(); |
| 54 | 54 |
| 55 const AtomicString& name() const; | 55 const AtomicString& name() const; |
| 56 bool overset() const; | 56 bool overset() const; |
| 57 int firstEmptyRegionIndex() const; | 57 int firstEmptyRegionIndex() const; |
| 58 PassRefPtr<NodeList> getRegionsByContent(Node*); | 58 PassRefPtr<NodeList> getRegionsByContent(Node*); |
| 59 PassRefPtr<NodeList> getRegions(); | 59 PassRefPtr<NodeList> getRegions(); |
| 60 PassRefPtr<NodeList> getContent(); | 60 PassRefPtr<NodeList> getContent(); |
| 61 | 61 |
| 62 virtual const AtomicString& interfaceName() const OVERRIDE; | 62 virtual const AtomicString& interfaceName() const OVERRIDE; |
| 63 virtual ExecutionContext* executionContext() const OVERRIDE; | 63 virtual ExecutionContext* executionContext() const OVERRIDE; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 84 // The name of the flow thread as specified in CSS. | 84 // The name of the flow thread as specified in CSS. |
| 85 AtomicString m_flowThreadName; | 85 AtomicString m_flowThreadName; |
| 86 | 86 |
| 87 RefPtr<NamedFlowCollection> m_flowManager; | 87 RefPtr<NamedFlowCollection> m_flowManager; |
| 88 RenderNamedFlowThread* m_parentFlowThread; | 88 RenderNamedFlowThread* m_parentFlowThread; |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 } | 91 } |
| 92 | 92 |
| 93 #endif | 93 #endif |
| OLD | NEW |