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