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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 ~PageDebuggerAgent() override; | 51 ~PageDebuggerAgent() override; |
52 DECLARE_VIRTUAL_TRACE(); | 52 DECLARE_VIRTUAL_TRACE(); |
53 | 53 |
54 void enable(ErrorString*) final; | 54 void enable(ErrorString*) final; |
55 void disable(ErrorString*) final; | 55 void disable(ErrorString*) final; |
56 void restore() final; | 56 void restore() final; |
57 | 57 |
58 private: | 58 private: |
59 PageDebuggerAgent(V8DebuggerAgent*, InspectedFrames*); | 59 PageDebuggerAgent(V8DebuggerAgent*, InspectedFrames*); |
60 | 60 |
61 // V8DebuggerAgent::Client implemntation. | |
62 bool canExecuteScripts() const; | |
63 | |
64 Member<InspectedFrames> m_inspectedFrames; | 61 Member<InspectedFrames> m_inspectedFrames; |
65 HashMap<String, String> m_compiledScriptURLs; | 62 HashMap<String, String> m_compiledScriptURLs; |
66 }; | 63 }; |
67 | 64 |
68 } // namespace blink | 65 } // namespace blink |
69 | 66 |
70 | 67 |
71 #endif // !defined(PageDebuggerAgent_h) | 68 #endif // !defined(PageDebuggerAgent_h) |
OLD | NEW |