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

Side by Side Diff: third_party/WebKit/Source/core/css/StyleRule.h

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 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
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { 312 DEFINE_INLINE_TRACE_AFTER_DISPATCH() {
313 StyleRuleBase::traceAfterDispatch(visitor); 313 StyleRuleBase::traceAfterDispatch(visitor);
314 } 314 }
315 315
316 private: 316 private:
317 StyleRuleCharset() : StyleRuleBase(Charset) {} 317 StyleRuleCharset() : StyleRuleBase(Charset) {}
318 }; 318 };
319 319
320 #define DEFINE_STYLE_RULE_TYPE_CASTS(Type) \ 320 #define DEFINE_STYLE_RULE_TYPE_CASTS(Type) \
321 DEFINE_TYPE_CASTS(StyleRule##Type, StyleRuleBase, rule, \ 321 DEFINE_TYPE_CASTS(StyleRule##Type, StyleRuleBase, rule, \
322 rule->is##Type##Rule(), rule.is##Type##Rule()) 322 rule->Is##Type##Rule(), rule.Is##Type##Rule())
323 323
324 DEFINE_TYPE_CASTS(StyleRule, 324 DEFINE_TYPE_CASTS(StyleRule,
325 StyleRuleBase, 325 StyleRuleBase,
326 rule, 326 rule,
327 rule->isStyleRule(), 327 rule->isStyleRule(),
328 rule.isStyleRule()); 328 rule.isStyleRule());
329 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); 329 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace);
330 DEFINE_STYLE_RULE_TYPE_CASTS(Page); 330 DEFINE_STYLE_RULE_TYPE_CASTS(Page);
331 DEFINE_STYLE_RULE_TYPE_CASTS(Media); 331 DEFINE_STYLE_RULE_TYPE_CASTS(Media);
332 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); 332 DEFINE_STYLE_RULE_TYPE_CASTS(Supports);
333 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); 333 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport);
334 DEFINE_STYLE_RULE_TYPE_CASTS(Charset); 334 DEFINE_STYLE_RULE_TYPE_CASTS(Charset);
335 335
336 } // namespace blink 336 } // namespace blink
337 337
338 #endif // StyleRule_h 338 #endif // StyleRule_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StylePropertySet.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSTokenizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698