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

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

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 years, 10 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/clipboard/DataTransfer.cpp ('k') | Source/core/css/CSSPropertySourceData.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) 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 unsigned start; 51 unsigned start;
52 unsigned end; 52 unsigned end;
53 }; 53 };
54 54
55 struct CSSPropertySourceData { 55 struct CSSPropertySourceData {
56 ALLOW_ONLY_INLINE_ALLOCATION(); 56 ALLOW_ONLY_INLINE_ALLOCATION();
57 public: 57 public:
58 CSSPropertySourceData(const String& name, const String& value, bool importan t, bool disabled, bool parsedOk, const SourceRange& range); 58 CSSPropertySourceData(const String& name, const String& value, bool importan t, bool disabled, bool parsedOk, const SourceRange& range);
59 CSSPropertySourceData(const CSSPropertySourceData& other); 59 CSSPropertySourceData(const CSSPropertySourceData& other);
60 CSSPropertySourceData();
61
62 String toString() const;
63 unsigned hash() const;
64 60
65 void trace(Visitor* visitor) { visitor->trace(range); } 61 void trace(Visitor* visitor) { visitor->trace(range); }
66 62
67 String name; 63 String name;
68 String value; 64 String value;
69 bool important; 65 bool important;
70 bool disabled; 66 bool disabled;
71 bool parsedOk; 67 bool parsedOk;
72 SourceRange range; 68 SourceRange range;
73 }; 69 };
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 RefPtrWillBeMember<CSSMediaSourceData> mediaSourceData; 172 RefPtrWillBeMember<CSSMediaSourceData> mediaSourceData;
177 }; 173 };
178 174
179 } // namespace blink 175 } // namespace blink
180 176
181 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::SourceRange); 177 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::SourceRange);
182 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSPropertySourceData); 178 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSPropertySourceData);
183 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSMediaQueryExpSourceData); 179 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSMediaQueryExpSourceData);
184 180
185 #endif // CSSPropertySourceData_h 181 #endif // CSSPropertySourceData_h
OLDNEW
« no previous file with comments | « Source/core/clipboard/DataTransfer.cpp ('k') | Source/core/css/CSSPropertySourceData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698