Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: Source/web/WebDevToolsAgentImpl.h

Issue 286263002: [DevTools] Notify embedder about pausing/resuming in debugger. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class WebDevToolsAgentImpl FINAL : 70 class WebDevToolsAgentImpl FINAL :
71 public WebDevToolsAgentPrivate, 71 public WebDevToolsAgentPrivate,
72 public WebCore::InspectorClient, 72 public WebCore::InspectorClient,
73 public WebCore::InspectorFrontendChannel, 73 public WebCore::InspectorFrontendChannel,
74 public WebPageOverlay, 74 public WebPageOverlay,
75 private WebThread::TaskObserver { 75 private WebThread::TaskObserver {
76 public: 76 public:
77 WebDevToolsAgentImpl(WebViewImpl* webViewImpl, WebDevToolsAgentClient* clien t); 77 WebDevToolsAgentImpl(WebViewImpl* webViewImpl, WebDevToolsAgentClient* clien t);
78 virtual ~WebDevToolsAgentImpl(); 78 virtual ~WebDevToolsAgentImpl();
79 79
80 WebDevToolsAgentClient* client() { return m_client; }
81
80 // WebDevToolsAgentPrivate implementation. 82 // WebDevToolsAgentPrivate implementation.
81 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID E; 83 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID E;
82 virtual void webViewResized(const WebSize&) OVERRIDE; 84 virtual void webViewResized(const WebSize&) OVERRIDE;
83 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE ; 85 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE ;
84 86
85 // WebDevToolsAgent implementation. 87 // WebDevToolsAgent implementation.
86 virtual void attach() OVERRIDE; 88 virtual void attach() OVERRIDE;
87 virtual void reattach(const WebString& savedState) OVERRIDE; 89 virtual void reattach(const WebString& savedState) OVERRIDE;
88 virtual void detach() OVERRIDE; 90 virtual void detach() OVERRIDE;
89 virtual void didNavigate() OVERRIDE; 91 virtual void didNavigate() OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; 161 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss;
160 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; 162 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip;
161 163
162 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; 164 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue;
163 FrontendMessageQueue m_frontendMessageQueue; 165 FrontendMessageQueue m_frontendMessageQueue;
164 }; 166 };
165 167
166 } // namespace blink 168 } // namespace blink
167 169
168 #endif 170 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698