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

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

Issue 1200263006: Remove unnecessary #include from VisibleSelection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « no previous file | no next file » | 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, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, 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 21 matching lines...) Expand all
32 #include "core/dom/Range.h" 32 #include "core/dom/Range.h"
33 #include "core/editing/htmlediting.h" 33 #include "core/editing/htmlediting.h"
34 #include "core/editing/iterators/CharacterIterator.h" 34 #include "core/editing/iterators/CharacterIterator.h"
35 #include "core/layout/LayoutObject.h" 35 #include "core/layout/LayoutObject.h"
36 #include "platform/geometry/LayoutPoint.h" 36 #include "platform/geometry/LayoutPoint.h"
37 #include "wtf/Assertions.h" 37 #include "wtf/Assertions.h"
38 #include "wtf/text/CString.h" 38 #include "wtf/text/CString.h"
39 #include "wtf/text/StringBuilder.h" 39 #include "wtf/text/StringBuilder.h"
40 #include "wtf/unicode/CharacterNames.h" 40 #include "wtf/unicode/CharacterNames.h"
41 41
42 #ifndef NDEBUG
43 #include <stdio.h>
44 #endif
45
46 namespace blink { 42 namespace blink {
47 43
48 VisibleSelection::VisibleSelection() 44 VisibleSelection::VisibleSelection()
49 : m_affinity(DOWNSTREAM) 45 : m_affinity(DOWNSTREAM)
50 , m_changeObserver(nullptr) 46 , m_changeObserver(nullptr)
51 , m_selectionType(NoSelection) 47 , m_selectionType(NoSelection)
52 , m_baseIsFirst(true) 48 , m_baseIsFirst(true)
53 , m_isDirectional(false) 49 , m_isDirectional(false)
54 { 50 {
55 } 51 }
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 sel.showTreeForThis(); 1243 sel.showTreeForThis();
1248 } 1244 }
1249 1245
1250 void showTree(const blink::VisibleSelection* sel) 1246 void showTree(const blink::VisibleSelection* sel)
1251 { 1247 {
1252 if (sel) 1248 if (sel)
1253 sel->showTreeForThis(); 1249 sel->showTreeForThis();
1254 } 1250 }
1255 1251
1256 #endif 1252 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698