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

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

Issue 686903003: Remove RenderPart. (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
« no previous file with comments | « sky/engine/core/rendering/RenderPart.cpp ('k') | sky/engine/core/rendering/RenderView.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) 2004, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "core/css/StylePropertySet.h" 29 #include "core/css/StylePropertySet.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/editing/FrameSelection.h" 31 #include "core/editing/FrameSelection.h"
32 #include "core/frame/FrameView.h" 32 #include "core/frame/FrameView.h"
33 #include "core/frame/LocalFrame.h" 33 #include "core/frame/LocalFrame.h"
34 #include "core/html/HTMLElement.h" 34 #include "core/html/HTMLElement.h"
35 #include "core/rendering/InlineTextBox.h" 35 #include "core/rendering/InlineTextBox.h"
36 #include "core/rendering/RenderInline.h" 36 #include "core/rendering/RenderInline.h"
37 #include "core/rendering/RenderLayer.h" 37 #include "core/rendering/RenderLayer.h"
38 #include "core/rendering/RenderPart.h"
39 #include "core/rendering/RenderView.h" 38 #include "core/rendering/RenderView.h"
40 #include "core/rendering/RenderWidget.h" 39 #include "core/rendering/RenderWidget.h"
41 #include "core/rendering/compositing/CompositedLayerMapping.h" 40 #include "core/rendering/compositing/CompositedLayerMapping.h"
42 #include "wtf/HexNumber.h" 41 #include "wtf/HexNumber.h"
43 #include "wtf/Vector.h" 42 #include "wtf/Vector.h"
44 #include "wtf/unicode/CharacterNames.h" 43 #include "wtf/unicode/CharacterNames.h"
45 44
46 namespace blink { 45 namespace blink {
47 46
48 static void printBorderStyle(TextStream& ts, const EBorderStyle borderStyle) 47 static void printBorderStyle(TextStream& ts, const EBorderStyle borderStyle)
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 element->document().updateLayout(); 570 element->document().updateLayout();
572 571
573 RenderObject* renderer = element->renderer(); 572 RenderObject* renderer = element->renderer();
574 if (!renderer || !renderer->isBox()) 573 if (!renderer || !renderer->isBox())
575 return String(); 574 return String();
576 575
577 return externalRepresentation(toRenderBox(renderer), behavior | RenderAsText ShowAllLayers); 576 return externalRepresentation(toRenderBox(renderer), behavior | RenderAsText ShowAllLayers);
578 } 577 }
579 578
580 } // namespace blink 579 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderPart.cpp ('k') | sky/engine/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698