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

Side by Side Diff: sky/engine/core/rendering/RenderBoxModelObject.cpp

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 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) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * Copyright (C) 2010 Google Inc. All rights reserved. 7 * Copyright (C) 2010 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
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details. 17 * Library General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Library General Public License 19 * You should have received a copy of the GNU Library General Public License
20 * along with this library; see the file COPYING.LIB. If not, write to 20 * along with this library; see the file COPYING.LIB. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 * 23 *
24 */ 24 */
25 25
26 #include "config.h" 26 #include "sky/engine/config.h"
27 #include "core/rendering/RenderBoxModelObject.h" 27 #include "sky/engine/core/rendering/RenderBoxModelObject.h"
28 28
29 #include "core/frame/Settings.h" 29 #include "sky/engine/core/frame/Settings.h"
30 #include "core/rendering/ImageQualityController.h" 30 #include "sky/engine/core/rendering/ImageQualityController.h"
31 #include "core/rendering/RenderBlock.h" 31 #include "sky/engine/core/rendering/RenderBlock.h"
32 #include "core/rendering/RenderGeometryMap.h" 32 #include "sky/engine/core/rendering/RenderGeometryMap.h"
33 #include "core/rendering/RenderInline.h" 33 #include "sky/engine/core/rendering/RenderInline.h"
34 #include "core/rendering/RenderLayer.h" 34 #include "sky/engine/core/rendering/RenderLayer.h"
35 #include "core/rendering/RenderObjectInlines.h" 35 #include "sky/engine/core/rendering/RenderObjectInlines.h"
36 #include "core/rendering/RenderView.h" 36 #include "sky/engine/core/rendering/RenderView.h"
37 #include "core/rendering/compositing/CompositedLayerMapping.h" 37 #include "sky/engine/core/rendering/compositing/CompositedLayerMapping.h"
38 #include "core/rendering/compositing/RenderLayerCompositor.h" 38 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h"
39 #include "core/rendering/style/ShadowList.h" 39 #include "sky/engine/core/rendering/style/ShadowList.h"
40 #include "platform/LengthFunctions.h" 40 #include "sky/engine/platform/LengthFunctions.h"
41 #include "platform/geometry/TransformState.h" 41 #include "sky/engine/platform/geometry/TransformState.h"
42 #include "platform/graphics/DrawLooperBuilder.h" 42 #include "sky/engine/platform/graphics/DrawLooperBuilder.h"
43 #include "platform/graphics/GraphicsContextStateSaver.h" 43 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h"
44 #include "platform/graphics/Path.h" 44 #include "sky/engine/platform/graphics/Path.h"
45 #include "wtf/CurrentTime.h" 45 #include "sky/engine/wtf/CurrentTime.h"
46 46
47 namespace blink { 47 namespace blink {
48 48
49 void RenderBoxModelObject::setSelectionState(SelectionState state) 49 void RenderBoxModelObject::setSelectionState(SelectionState state)
50 { 50 {
51 if (state == SelectionInside && selectionState() != SelectionNone) 51 if (state == SelectionInside && selectionState() != SelectionNone)
52 return; 52 return;
53 53
54 if ((state == SelectionStart && selectionState() == SelectionEnd) 54 if ((state == SelectionStart && selectionState() == SelectionEnd)
55 || (state == SelectionEnd && selectionState() == SelectionStart)) 55 || (state == SelectionEnd && selectionState() == SelectionStart))
(...skipping 2498 matching lines...) Expand 10 before | Expand all | Expand 10 after
2554 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent()); 2554 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent());
2555 for (RenderObject* child = slowFirstChild(); child; ) { 2555 for (RenderObject* child = slowFirstChild(); child; ) {
2556 // Save our next sibling as moveChildTo will clear it. 2556 // Save our next sibling as moveChildTo will clear it.
2557 RenderObject* nextSibling = child->nextSibling(); 2557 RenderObject* nextSibling = child->nextSibling();
2558 moveChildTo(toBoxModelObject, child, beforeChild, fullRemoveInsert); 2558 moveChildTo(toBoxModelObject, child, beforeChild, fullRemoveInsert);
2559 child = nextSibling; 2559 child = nextSibling;
2560 } 2560 }
2561 } 2561 }
2562 2562
2563 } // namespace blink 2563 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBoxModelObject.h ('k') | sky/engine/core/rendering/RenderFlexibleBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698