| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 friend class InspectorCompositeState; | 86 friend class InspectorCompositeState; |
| 87 | 87 |
| 88 RawPtrWillBeMember<InspectorStateUpdateListener> m_listener; | 88 RawPtrWillBeMember<InspectorStateUpdateListener> m_listener; |
| 89 RefPtr<JSONObject> m_properties; | 89 RefPtr<JSONObject> m_properties; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 class CORE_EXPORT InspectorCompositeState final : public NoBaseWillBeGarbageColl
ectedFinalized<InspectorCompositeState>, public InspectorStateUpdateListener { | 92 class CORE_EXPORT InspectorCompositeState final : public NoBaseWillBeGarbageColl
ectedFinalized<InspectorCompositeState>, public InspectorStateUpdateListener { |
| 93 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorCompositeState); | 93 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorCompositeState); |
| 94 WTF_MAKE_NONCOPYABLE(InspectorCompositeState); | 94 WTF_MAKE_NONCOPYABLE(InspectorCompositeState); |
| 95 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorCompositeState); |
| 95 public: | 96 public: |
| 96 InspectorCompositeState(InspectorStateClient* inspectorStateClient) | 97 InspectorCompositeState(InspectorStateClient* inspectorStateClient) |
| 97 : m_client(inspectorStateClient) | 98 : m_client(inspectorStateClient) |
| 98 , m_stateObject(JSONObject::create()) | 99 , m_stateObject(JSONObject::create()) |
| 99 , m_isMuted(false) | 100 , m_isMuted(false) |
| 100 { | 101 { |
| 101 } | 102 } |
| 102 virtual ~InspectorCompositeState() { } | 103 virtual ~InspectorCompositeState() { } |
| 103 DECLARE_TRACE(); | 104 DECLARE_TRACE(); |
| 104 | 105 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 116 | 117 |
| 117 InspectorStateClient* m_client; | 118 InspectorStateClient* m_client; |
| 118 RefPtr<JSONObject> m_stateObject; | 119 RefPtr<JSONObject> m_stateObject; |
| 119 bool m_isMuted; | 120 bool m_isMuted; |
| 120 InspectorStateMap m_inspectorStateMap; | 121 InspectorStateMap m_inspectorStateMap; |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace blink | 124 } // namespace blink |
| 124 | 125 |
| 125 #endif // !defined(InspectorState_h) | 126 #endif // !defined(InspectorState_h) |
| OLD | NEW |