| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); | 48 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); |
| 49 public: | 49 public: |
| 50 static PageDebuggerAgent* create(V8DebuggerAgent*, InspectedFrames*); | 50 static PageDebuggerAgent* create(V8DebuggerAgent*, InspectedFrames*); |
| 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 void didStartProvisionalLoad(LocalFrame*); | |
| 59 | |
| 60 private: | 58 private: |
| 61 PageDebuggerAgent(V8DebuggerAgent*, InspectedFrames*); | 59 PageDebuggerAgent(V8DebuggerAgent*, InspectedFrames*); |
| 62 | 60 |
| 63 // V8DebuggerAgent::Client implemntation. | 61 // V8DebuggerAgent::Client implemntation. |
| 64 bool canExecuteScripts() const; | 62 bool canExecuteScripts() const; |
| 65 | 63 |
| 66 Member<InspectedFrames> m_inspectedFrames; | 64 Member<InspectedFrames> m_inspectedFrames; |
| 67 HashMap<String, String> m_compiledScriptURLs; | 65 HashMap<String, String> m_compiledScriptURLs; |
| 68 }; | 66 }; |
| 69 | 67 |
| 70 } // namespace blink | 68 } // namespace blink |
| 71 | 69 |
| 72 | 70 |
| 73 #endif // !defined(PageDebuggerAgent_h) | 71 #endif // !defined(PageDebuggerAgent_h) |
| OLD | NEW |