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

Side by Side Diff: content/renderer/devtools/devtools_agent.h

Issue 1047653003: [DevTools] Unpause renderer when paused RenderFrame is closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 5 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/public/common/console_message_level.h" 10 #include "content/public/common/console_message_level.h"
(...skipping 27 matching lines...) Expand all
38 const std::string& message, 38 const std::string& message,
39 const std::string& post_state); 39 const std::string& post_state);
40 40
41 blink::WebDevToolsAgent* GetWebAgent(); 41 blink::WebDevToolsAgent* GetWebAgent();
42 42
43 bool IsAttached(); 43 bool IsAttached();
44 44
45 private: 45 private:
46 // RenderFrameObserver implementation. 46 // RenderFrameObserver implementation.
47 bool OnMessageReceived(const IPC::Message& message) override; 47 bool OnMessageReceived(const IPC::Message& message) override;
48 void WidgetWillClose() override;
49 void FrameWillClose() override;
48 50
49 // WebDevToolsAgentClient implementation. 51 // WebDevToolsAgentClient implementation.
50 void sendProtocolMessage(int call_id, 52 void sendProtocolMessage(int call_id,
51 const blink::WebString& response, 53 const blink::WebString& response,
52 const blink::WebString& state) override; 54 const blink::WebString& state) override;
53 blink::WebDevToolsAgentClient::WebKitClientMessageLoop* 55 blink::WebDevToolsAgentClient::WebKitClientMessageLoop*
54 createClientMessageLoop() override; 56 createClientMessageLoop() override;
55 void willEnterDebugLoop() override; 57 void willEnterDebugLoop() override;
56 void didExitDebugLoop() override; 58 void didExitDebugLoop() override;
57 59
(...skipping 15 matching lines...) Expand all
73 bool is_devtools_client_; 75 bool is_devtools_client_;
74 bool paused_in_mouse_move_; 76 bool paused_in_mouse_move_;
75 RenderFrameImpl* frame_; 77 RenderFrameImpl* frame_;
76 78
77 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 79 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
78 }; 80 };
79 81
80 } // namespace content 82 } // namespace content
81 83
82 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 84 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698