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

Side by Side Diff: Source/core/editing/ApplyBlockElementCommand.cpp

Issue 1045723009: Move core/layout/style to core/style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 8 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/dom/VisitedLinkState.h ('k') | Source/core/editing/EditingStyle.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) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 19 matching lines...) Expand all
30 #include "bindings/core/v8/ExceptionState.h" 30 #include "bindings/core/v8/ExceptionState.h"
31 #include "core/HTMLNames.h" 31 #include "core/HTMLNames.h"
32 #include "core/dom/NodeComputedStyle.h" 32 #include "core/dom/NodeComputedStyle.h"
33 #include "core/dom/Text.h" 33 #include "core/dom/Text.h"
34 #include "core/editing/VisiblePosition.h" 34 #include "core/editing/VisiblePosition.h"
35 #include "core/editing/VisibleUnits.h" 35 #include "core/editing/VisibleUnits.h"
36 #include "core/editing/htmlediting.h" 36 #include "core/editing/htmlediting.h"
37 #include "core/html/HTMLBRElement.h" 37 #include "core/html/HTMLBRElement.h"
38 #include "core/html/HTMLElement.h" 38 #include "core/html/HTMLElement.h"
39 #include "core/layout/LayoutObject.h" 39 #include "core/layout/LayoutObject.h"
40 #include "core/layout/style/ComputedStyle.h" 40 #include "core/style/ComputedStyle.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 using namespace HTMLNames; 44 using namespace HTMLNames;
45 45
46 ApplyBlockElementCommand::ApplyBlockElementCommand(Document& document, const Qua lifiedName& tagName, const AtomicString& inlineStyle) 46 ApplyBlockElementCommand::ApplyBlockElementCommand(Document& document, const Qua lifiedName& tagName, const AtomicString& inlineStyle)
47 : CompositeEditCommand(document) 47 : CompositeEditCommand(document)
48 , m_tagName(tagName) 48 , m_tagName(tagName)
49 , m_inlineStyle(inlineStyle) 49 , m_inlineStyle(inlineStyle)
50 { 50 {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 return element.release(); 289 return element.release();
290 } 290 }
291 291
292 DEFINE_TRACE(ApplyBlockElementCommand) 292 DEFINE_TRACE(ApplyBlockElementCommand)
293 { 293 {
294 visitor->trace(m_endOfLastParagraph); 294 visitor->trace(m_endOfLastParagraph);
295 CompositeEditCommand::trace(visitor); 295 CompositeEditCommand::trace(visitor);
296 } 296 }
297 297
298 } 298 }
OLDNEW
« no previous file with comments | « Source/core/dom/VisitedLinkState.h ('k') | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698