| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 virtual ~InspectorCompositeState() { } | 100 virtual ~InspectorCompositeState() { } |
| 101 void trace(Visitor*); | 101 void trace(Visitor*); |
| 102 | 102 |
| 103 void mute(); | 103 void mute(); |
| 104 void unmute(); | 104 void unmute(); |
| 105 | 105 |
| 106 InspectorState* createAgentState(const String&); | 106 InspectorState* createAgentState(const String&); |
| 107 void loadFromCookie(const String&); | 107 void loadFromCookie(const String&); |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 typedef WillBeHeapHashMap<String, OwnPtrWillBeMember<InspectorState> > Inspe
ctorStateMap; | 110 typedef WillBeHeapHashMap<String, OwnPtrWillBeMember<InspectorState>> Inspec
torStateMap; |
| 111 | 111 |
| 112 // From InspectorStateUpdateListener. | 112 // From InspectorStateUpdateListener. |
| 113 virtual void inspectorStateUpdated() override; | 113 virtual void inspectorStateUpdated() override; |
| 114 | 114 |
| 115 InspectorStateClient* m_client; | 115 InspectorStateClient* m_client; |
| 116 RefPtr<JSONObject> m_stateObject; | 116 RefPtr<JSONObject> m_stateObject; |
| 117 bool m_isMuted; | 117 bool m_isMuted; |
| 118 InspectorStateMap m_inspectorStateMap; | 118 InspectorStateMap m_inspectorStateMap; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace blink | 121 } // namespace blink |
| 122 | 122 |
| 123 #endif // !defined(InspectorState_h) | 123 #endif // !defined(InspectorState_h) |
| OLD | NEW |