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

Side by Side Diff: Source/core/css/CSSPropertySourceData.h

Issue 541383003: Clean up forward declarations in Source/core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/css/CSSLineBoxContainValue.h ('k') | Source/core/css/CSSStyleDeclaration.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) 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2010 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #define CSSPropertySourceData_h 32 #define CSSPropertySourceData_h
33 33
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "wtf/Forward.h" 35 #include "wtf/Forward.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/Vector.h" 37 #include "wtf/Vector.h"
38 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class StyleRuleBase;
43
44 struct SourceRange { 42 struct SourceRange {
45 ALLOW_ONLY_INLINE_ALLOCATION(); 43 ALLOW_ONLY_INLINE_ALLOCATION();
46 public: 44 public:
47 SourceRange(); 45 SourceRange();
48 SourceRange(unsigned start, unsigned end); 46 SourceRange(unsigned start, unsigned end);
49 unsigned length() const; 47 unsigned length() const;
50 48
51 void trace(Visitor*) { } 49 void trace(Visitor*) { }
52 50
53 unsigned start; 51 unsigned start;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Only for CSSMediaRules. 138 // Only for CSSMediaRules.
141 RuleSourceDataList childRules; 139 RuleSourceDataList childRules;
142 }; 140 };
143 141
144 } // namespace blink 142 } // namespace blink
145 143
146 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::SourceRange); 144 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::SourceRange);
147 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSPropertySourceData); 145 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSPropertySourceData);
148 146
149 #endif // CSSPropertySourceData_h 147 #endif // CSSPropertySourceData_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSLineBoxContainValue.h ('k') | Source/core/css/CSSStyleDeclaration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698