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 ScriptExecutionContext; | 46 class ScriptExecutionContext; |
47 | 47 |
48 class NamedFlow : public RefCounted<NamedFlow>, public ScriptWrappable, public E
ventTarget { | 48 class NamedFlow : public EventTarget, public RefCounted<NamedFlow>, public Scrip
tWrappable { |
49 public: | 49 public: |
50 static PassRefPtr<NamedFlow> create(PassRefPtr<NamedFlowCollection> manager,
const AtomicString& flowThreadName); | 50 static PassRefPtr<NamedFlow> create(PassRefPtr<NamedFlowCollection> manager,
const AtomicString& flowThreadName); |
51 | 51 |
52 ~NamedFlow(); | 52 ~NamedFlow(); |
53 | 53 |
54 const AtomicString& name() const; | 54 const AtomicString& name() const; |
55 bool overset() const; | 55 bool overset() const; |
56 int firstEmptyRegionIndex() const; | 56 int firstEmptyRegionIndex() const; |
57 PassRefPtr<NodeList> getRegionsByContent(Node*); | 57 PassRefPtr<NodeList> getRegionsByContent(Node*); |
58 PassRefPtr<NodeList> getRegions(); | 58 PassRefPtr<NodeList> getRegions(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 RefPtr<NamedFlowCollection> m_flowManager; | 96 RefPtr<NamedFlowCollection> m_flowManager; |
97 RenderNamedFlowThread* m_parentFlowThread; | 97 RenderNamedFlowThread* m_parentFlowThread; |
98 | 98 |
99 EventTargetData m_eventTargetData; | 99 EventTargetData m_eventTargetData; |
100 }; | 100 }; |
101 | 101 |
102 } | 102 } |
103 | 103 |
104 #endif | 104 #endif |
OLD | NEW |