| 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 18 matching lines...) Expand all Loading... |
| 29 #define CSSVariablesMapForEachCallback_h | 29 #define CSSVariablesMapForEachCallback_h |
| 30 | 30 |
| 31 #include "bindings/v8/ScriptValue.h" | 31 #include "bindings/v8/ScriptValue.h" |
| 32 #include "wtf/RefCounted.h" | 32 #include "wtf/RefCounted.h" |
| 33 #include "wtf/text/WTFString.h" | 33 #include "wtf/text/WTFString.h" |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 class CSSVariablesMap; | 37 class CSSVariablesMap; |
| 38 | 38 |
| 39 class CSSVariablesMapForEachCallback : public RefCounted<CSSVariablesMapForEachC
allback> { | 39 class CSSVariablesMapForEachCallback { |
| 40 public: | 40 public: |
| 41 virtual ~CSSVariablesMapForEachCallback() { } | 41 virtual ~CSSVariablesMapForEachCallback() { } |
| 42 virtual bool handleItem(ScriptValue thisValue, const String& value, const St
ring& name, CSSVariablesMap*) = 0; | 42 virtual bool handleItem(ScriptValue thisValue, const String& value, const St
ring& name, CSSVariablesMap*) = 0; |
| 43 virtual bool handleItem(const String& value, const String& name, CSSVariable
sMap*) = 0; | 43 virtual bool handleItem(const String& value, const String& name, CSSVariable
sMap*) = 0; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace WebCore | 46 } // namespace WebCore |
| 47 | 47 |
| 48 #endif // CSSVariablesMapForEachCallback_h | 48 #endif // CSSVariablesMapForEachCallback_h |
| OLD | NEW |