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

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

Issue 288013005: Handle transformed descendants when drawing focus rings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Exclude the new flaky test. The other new test covers the change. Created 6 years, 6 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/rendering/RenderInline.cpp ('k') | Source/core/rendering/RenderObject.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) 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 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 void drawDoubleBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1050 void drawDoubleBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1051 int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjac entWidth2, bool antialias); 1051 int length, BoxSide, Color, int thickness, int adjacentWidth1, int adjac entWidth2, bool antialias);
1052 void drawRidgeOrGrooveBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1052 void drawRidgeOrGrooveBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1053 BoxSide, Color, EBorderStyle, int adjacentWidth1, int adjacentWidth2, bo ol antialias); 1053 BoxSide, Color, EBorderStyle, int adjacentWidth1, int adjacentWidth2, bo ol antialias);
1054 void drawSolidBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, 1054 void drawSolidBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2,
1055 BoxSide, Color, int adjacentWidth1, int adjacentWidth2, bool antialias); 1055 BoxSide, Color, int adjacentWidth1, int adjacentWidth2, bool antialias);
1056 1056
1057 void paintFocusRing(PaintInfo&, const LayoutPoint&, RenderStyle*); 1057 void paintFocusRing(PaintInfo&, const LayoutPoint&, RenderStyle*);
1058 void paintOutline(PaintInfo&, const LayoutRect&); 1058 void paintOutline(PaintInfo&, const LayoutRect&);
1059 void addPDFURLRect(GraphicsContext*, const LayoutRect&); 1059 void addPDFURLRect(GraphicsContext*, const LayoutRect&);
1060 void addChildFocusRingRects(Vector<IntRect>&, const LayoutPoint& additionalO ffset, const RenderLayerModelObject* paintContainer);
1060 1061
1061 virtual LayoutRect viewRect() const; 1062 virtual LayoutRect viewRect() const;
1062 1063
1063 void clearLayoutRootIfNeeded() const; 1064 void clearLayoutRootIfNeeded() const;
1064 virtual void willBeDestroyed(); 1065 virtual void willBeDestroyed();
1065 void postDestroy(); 1066 void postDestroy();
1066 1067
1067 virtual void insertedIntoTree(); 1068 virtual void insertedIntoTree();
1068 virtual void willBeRemovedFromTree(); 1069 virtual void willBeRemovedFromTree();
1069 1070
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 void showTree(const WebCore::RenderObject*); 1490 void showTree(const WebCore::RenderObject*);
1490 void showLineTree(const WebCore::RenderObject*); 1491 void showLineTree(const WebCore::RenderObject*);
1491 void showRenderTree(const WebCore::RenderObject* object1); 1492 void showRenderTree(const WebCore::RenderObject* object1);
1492 // We don't make object2 an optional parameter so that showRenderTree 1493 // We don't make object2 an optional parameter so that showRenderTree
1493 // can be called from gdb easily. 1494 // can be called from gdb easily.
1494 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1495 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1495 1496
1496 #endif 1497 #endif
1497 1498
1498 #endif // RenderObject_h 1499 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderInline.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698