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

Side by Side Diff: sky/engine/core/rendering/RenderObject.h

Issue 924263002: Get rid of HitTestChildBlockBackground walk. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 }; 69 };
70 70
71 enum HitTestFilter { 71 enum HitTestFilter {
72 HitTestAll, 72 HitTestAll,
73 HitTestSelf, 73 HitTestSelf,
74 HitTestDescendants 74 HitTestDescendants
75 }; 75 };
76 76
77 enum HitTestAction { 77 enum HitTestAction {
78 HitTestBlockBackground, 78 HitTestBlockBackground,
79 HitTestChildBlockBackground,
80 HitTestChildBlockBackgrounds,
81 HitTestForeground 79 HitTestForeground
82 }; 80 };
83 81
84 // Sides used when drawing borders and outlines. The values should run clockwise from top. 82 // Sides used when drawing borders and outlines. The values should run clockwise from top.
85 enum BoxSide { 83 enum BoxSide {
86 BSTop, 84 BSTop,
87 BSRight, 85 BSRight,
88 BSBottom, 86 BSBottom,
89 BSLeft 87 BSLeft
90 }; 88 };
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 void showTree(const blink::RenderObject*); 914 void showTree(const blink::RenderObject*);
917 void showLineTree(const blink::RenderObject*); 915 void showLineTree(const blink::RenderObject*);
918 void showRenderTree(const blink::RenderObject* object1); 916 void showRenderTree(const blink::RenderObject* object1);
919 // We don't make object2 an optional parameter so that showRenderTree 917 // We don't make object2 an optional parameter so that showRenderTree
920 // can be called from gdb easily. 918 // can be called from gdb easily.
921 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 919 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
922 920
923 #endif 921 #endif
924 922
925 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ 923 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698