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

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

Issue 137943002: Update more core 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/css/resolver/StyleResolver.h ('k') | Source/core/dom/StringCallback.cpp » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 611
612 unsigned short compareDocumentPosition(const Node*) const; 612 unsigned short compareDocumentPosition(const Node*) const;
613 613
614 enum ShadowTreesTreatment { 614 enum ShadowTreesTreatment {
615 TreatShadowTreesAsDisconnected, 615 TreatShadowTreesAsDisconnected,
616 TreatShadowTreesAsComposed 616 TreatShadowTreesAsComposed
617 }; 617 };
618 618
619 unsigned short compareDocumentPositionInternal(const Node*, ShadowTreesTreat ment) const; 619 unsigned short compareDocumentPositionInternal(const Node*, ShadowTreesTreat ment) const;
620 620
621 virtual Node* toNode(); 621 virtual Node* toNode() OVERRIDE FINAL;
622 622
623 virtual const AtomicString& interfaceName() const OVERRIDE; 623 virtual const AtomicString& interfaceName() const OVERRIDE;
624 virtual ExecutionContext* executionContext() const OVERRIDE; 624 virtual ExecutionContext* executionContext() const OVERRIDE;
625 625
626 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE; 626 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE;
627 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE; 627 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE;
628 628
629 // Handlers to do/undo actions on the target node before an event is dispatc hed to it and after the event 629 // Handlers to do/undo actions on the target node before an event is dispatc hed to it and after the event
630 // has been dispatched. The data pointer is handed back by the preDispatch and passed to postDispatch. 630 // has been dispatched. The data pointer is handed back by the preDispatch and passed to postDispatch.
631 virtual void* preDispatchEventHandler(Event*) { return 0; } 631 virtual void* preDispatchEventHandler(Event*) { return 0; }
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 915
916 } // namespace WebCore 916 } // namespace WebCore
917 917
918 #ifndef NDEBUG 918 #ifndef NDEBUG
919 // Outside the WebCore namespace for ease of invocation from gdb. 919 // Outside the WebCore namespace for ease of invocation from gdb.
920 void showTree(const WebCore::Node*); 920 void showTree(const WebCore::Node*);
921 void showNodePath(const WebCore::Node*); 921 void showNodePath(const WebCore::Node*);
922 #endif 922 #endif
923 923
924 #endif 924 #endif
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.h ('k') | Source/core/dom/StringCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698