OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #ifndef StyleBuilder_h | 31 #ifndef StyleBuilder_h |
32 #define StyleBuilder_h | 32 #define StyleBuilder_h |
33 | 33 |
34 #include "core/CSSPropertyNames.h" | 34 #include "core/CSSPropertyNames.h" |
35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class CSSValue; | 39 class CSSValue; |
40 class Document; | |
41 class RenderStyle; | |
42 class StyleResolverState; | 40 class StyleResolverState; |
43 | 41 |
44 class StyleBuilder { | 42 class StyleBuilder { |
45 STATIC_ONLY(StyleBuilder); | 43 STATIC_ONLY(StyleBuilder); |
46 public: | 44 public: |
47 static void applyProperty(CSSPropertyID, StyleResolverState&, CSSValue*); | 45 static void applyProperty(CSSPropertyID, StyleResolverState&, CSSValue*); |
48 | 46 |
49 private: | 47 private: |
50 static void applyProperty(CSSPropertyID, StyleResolverState&, CSSValue*, boo
l isInitial, bool isInherit); | 48 static void applyProperty(CSSPropertyID, StyleResolverState&, CSSValue*, boo
l isInitial, bool isInherit); |
51 }; | 49 }; |
52 | 50 |
53 } | 51 } |
54 | 52 |
55 #endif | 53 #endif |
OLD | NEW |