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

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 129173004: Update rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.h ('k') | Source/core/rendering/RenderPart.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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 933
934 virtual bool isCombineText() const { return false; } 934 virtual bool isCombineText() const { return false; }
935 935
936 virtual int caretMinOffset() const; 936 virtual int caretMinOffset() const;
937 virtual int caretMaxOffset() const; 937 virtual int caretMaxOffset() const;
938 938
939 virtual int previousOffset(int current) const; 939 virtual int previousOffset(int current) const;
940 virtual int previousOffsetForBackwardDeletion(int current) const; 940 virtual int previousOffsetForBackwardDeletion(int current) const;
941 virtual int nextOffset(int current) const; 941 virtual int nextOffset(int current) const;
942 942
943 virtual void imageChanged(ImageResource*, const IntRect* = 0); 943 virtual void imageChanged(ImageResource*, const IntRect* = 0) OVERRIDE FINAL ;
944 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } 944 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { }
945 virtual bool willRenderImage(ImageResource*); 945 virtual bool willRenderImage(ImageResource*) OVERRIDE FINAL;
946 946
947 void selectionStartEnd(int& spos, int& epos) const; 947 void selectionStartEnd(int& spos, int& epos) const;
948 948
949 void remove() { if (parent()) parent()->removeChild(this); } 949 void remove() { if (parent()) parent()->removeChild(this); }
950 950
951 AnimationController& animation() const; 951 AnimationController& animation() const;
952 952
953 bool isInert() const; 953 bool isInert() const;
954 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style() ->pointerEvents() != PE_NONE) && !isInert(); } 954 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style() ->pointerEvents() != PE_NONE) && !isInert(); }
955 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE & & style()->pointerEvents() != PE_NONE && !isInert(); } 955 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE & & style()->pointerEvents() != PE_NONE && !isInert(); }
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1427 void showTree(const WebCore::RenderObject*); 1427 void showTree(const WebCore::RenderObject*);
1428 void showLineTree(const WebCore::RenderObject*); 1428 void showLineTree(const WebCore::RenderObject*);
1429 void showRenderTree(const WebCore::RenderObject* object1); 1429 void showRenderTree(const WebCore::RenderObject* object1);
1430 // We don't make object2 an optional parameter so that showRenderTree 1430 // We don't make object2 an optional parameter so that showRenderTree
1431 // can be called from gdb easily. 1431 // can be called from gdb easily.
1432 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1432 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1433 1433
1434 #endif 1434 #endif
1435 1435
1436 #endif // RenderObject_h 1436 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.h ('k') | Source/core/rendering/RenderPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698