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

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

Issue 135833002: Add missing virtual keyword for methods with OVERRIDE (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
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) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 virtual bool isRenderBlock() const OVERRIDE FINAL { return true; } 413 virtual bool isRenderBlock() const OVERRIDE FINAL { return true; }
414 414
415 void makeChildrenNonInline(RenderObject* insertionPoint = 0); 415 void makeChildrenNonInline(RenderObject* insertionPoint = 0);
416 virtual void removeLeftoverAnonymousBlock(RenderBlock* child); 416 virtual void removeLeftoverAnonymousBlock(RenderBlock* child);
417 417
418 static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* ch ild); 418 static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* ch ild);
419 419
420 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL { m_lineBoxes.dirtyLinesFromChangedChild(this, child); } 420 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL { m_lineBoxes.dirtyLinesFromChangedChild(this, child); }
421 421
422 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil d); 422 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil d);
423 void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* befo reChild) OVERRIDE; 423 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild) OVERRIDE;
424 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild); 424 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild);
425 425
426 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj ect* beforeChild = 0); 426 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj ect* beforeChild = 0);
427 427
428 virtual bool isSelfCollapsingBlock() const OVERRIDE; 428 virtual bool isSelfCollapsingBlock() const OVERRIDE;
429 429
430 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants Map*&, TrackedContainerMap*&); 430 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants Map*&, TrackedContainerMap*&);
431 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc endantsMap*&, TrackedContainerMap*&); 431 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc endantsMap*&, TrackedContainerMap*&);
432 432
433 // Called to lay out the legend for a fieldset or the ruby text of a ruby ru n. 433 // Called to lay out the legend for a fieldset or the ruby text of a ruby ru n.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 return false; 643 return false;
644 } 644 }
645 return true; 645 return true;
646 } 646 }
647 647
648 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 648 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
649 649
650 } // namespace WebCore 650 } // namespace WebCore
651 651
652 #endif // RenderBlock_h 652 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControlsChromium.h ('k') | Source/core/rendering/svg/RenderSVGModelObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698