Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: Source/core/dom/NamedFlow.h

Issue 126633004: Update DOM classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/MessagePort.h ('k') | Source/core/dom/NamedFlowCollection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/dom/MessagePort.h ('k') | Source/core/dom/NamedFlowCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698