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

Side by Side Diff: Source/core/dom/Position.h

Issue 347643002: Reduce forward declarations in core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 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
« no previous file with comments | « Source/core/dom/NodeRareData.h ('k') | Source/core/dom/ScriptLoader.h » ('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, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 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 22 matching lines...) Expand all
33 #include "wtf/Assertions.h" 33 #include "wtf/Assertions.h"
34 #include "wtf/PassRefPtr.h" 34 #include "wtf/PassRefPtr.h"
35 #include "wtf/RefPtr.h" 35 #include "wtf/RefPtr.h"
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 class CSSComputedStyleDeclaration; 39 class CSSComputedStyleDeclaration;
40 class Element; 40 class Element;
41 class InlineBox; 41 class InlineBox;
42 class Node; 42 class Node;
43 class Range;
44 class RenderObject; 43 class RenderObject;
45 class Text; 44 class Text;
46 45
47 enum PositionMoveType { 46 enum PositionMoveType {
48 CodePoint, // Move by a single code point. 47 CodePoint, // Move by a single code point.
49 Character, // Move to the next Unicode character break. 48 Character, // Move to the next Unicode character break.
50 BackwardDeletion // Subject to platform conventions. 49 BackwardDeletion // Subject to platform conventions.
51 }; 50 };
52 51
53 class Position { 52 class Position {
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 339
341 } // namespace WebCore 340 } // namespace WebCore
342 341
343 #ifndef NDEBUG 342 #ifndef NDEBUG
344 // Outside the WebCore namespace for ease of invocation from gdb. 343 // Outside the WebCore namespace for ease of invocation from gdb.
345 void showTree(const WebCore::Position&); 344 void showTree(const WebCore::Position&);
346 void showTree(const WebCore::Position*); 345 void showTree(const WebCore::Position*);
347 #endif 346 #endif
348 347
349 #endif // Position_h 348 #endif // Position_h
OLDNEW
« no previous file with comments | « Source/core/dom/NodeRareData.h ('k') | Source/core/dom/ScriptLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698