| 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 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class DocumentLoader; | 40 class DocumentLoader; |
| 41 class InspectorOverlay; | 41 class InspectorOverlay; |
| 42 class InspectorPageAgent; | 42 class InspectorPageAgent; |
| 43 class Page; | 43 class Page; |
| 44 class PageScriptDebugServer; | 44 class PageScriptDebugServer; |
| 45 class ScriptSourceCode; | 45 class ScriptSourceCode; |
| 46 | 46 |
| 47 class PageDebuggerAgent FINAL : | 47 class PageDebuggerAgent FINAL |
| 48 public InspectorDebuggerAgent, | 48 : public InspectorDebuggerAgent |
| 49 public InspectorOverlayHost::Listener { | 49 , public InspectorOverlayHost::Listener { |
| 50 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); | 50 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); |
| 51 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 51 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 52 public: | 52 public: |
| 53 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); | 53 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); |
| 54 virtual ~PageDebuggerAgent(); | 54 virtual ~PageDebuggerAgent(); |
| 55 virtual void trace(Visitor*) OVERRIDE; | 55 virtual void trace(Visitor*) OVERRIDE; |
| 56 | 56 |
| 57 void didClearDocumentOfWindowObject(LocalFrame*); | 57 void didClearDocumentOfWindowObject(LocalFrame*); |
| 58 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); | 58 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); |
| 59 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&
); | 59 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&
); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 81 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. | 81 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. |
| 82 PageScriptDebugServer* m_pageScriptDebugServer; | 82 PageScriptDebugServer* m_pageScriptDebugServer; |
| 83 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 83 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
| 84 InspectorOverlay* m_overlay; | 84 InspectorOverlay* m_overlay; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace blink | 87 } // namespace blink |
| 88 | 88 |
| 89 | 89 |
| 90 #endif // !defined(PageDebuggerAgent_h) | 90 #endif // !defined(PageDebuggerAgent_h) |
| OLD | NEW |