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

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

Issue 288393004: [DevTools] Send ack early when paused in mouse move to keep events coming. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
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 #include <vector> 9 #include <vector>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // RenderView::Observer implementation. 47 // RenderView::Observer implementation.
48 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 48 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
49 49
50 // WebDevToolsAgentClient implementation 50 // WebDevToolsAgentClient implementation
51 virtual void sendMessageToInspectorFrontend(const blink::WebString& data); 51 virtual void sendMessageToInspectorFrontend(const blink::WebString& data);
52 52
53 virtual int hostIdentifier() OVERRIDE; 53 virtual int hostIdentifier() OVERRIDE;
54 virtual void saveAgentRuntimeState(const blink::WebString& state) OVERRIDE; 54 virtual void saveAgentRuntimeState(const blink::WebString& state) OVERRIDE;
55 virtual blink::WebDevToolsAgentClient::WebKitClientMessageLoop* 55 virtual blink::WebDevToolsAgentClient::WebKitClientMessageLoop*
56 createClientMessageLoop() OVERRIDE; 56 createClientMessageLoop() OVERRIDE;
57 virtual void willEnterDebugLoop() OVERRIDE;
58 virtual void didExitDebugLoop() OVERRIDE;
57 virtual void visitAllocatedObjects(AllocatedObjectVisitor* visitor) OVERRIDE; 59 virtual void visitAllocatedObjects(AllocatedObjectVisitor* visitor) OVERRIDE;
58 60
59 typedef void (*TraceEventCallback)( 61 typedef void (*TraceEventCallback)(
60 char phase, const unsigned char*, const char* name, unsigned long long id, 62 char phase, const unsigned char*, const char* name, unsigned long long id,
61 int numArgs, const char* const* argNames, const unsigned char* argTypes, 63 int numArgs, const char* const* argNames, const unsigned char* argTypes,
62 const unsigned long long* argValues, 64 const unsigned long long* argValues,
63 unsigned char flags, double timestamp); 65 unsigned char flags, double timestamp);
64 virtual void resetTraceEventCallback() OVERRIDE; 66 virtual void resetTraceEventCallback() OVERRIDE;
65 virtual void setTraceEventCallback(const blink::WebString& category_filter, 67 virtual void setTraceEventCallback(const blink::WebString& category_filter,
66 TraceEventCallback cb) OVERRIDE; 68 TraceEventCallback cb) OVERRIDE;
(...skipping 27 matching lines...) Expand all
94 unsigned long long id, 96 unsigned long long id,
95 int num_args, 97 int num_args,
96 const char* const arg_names[], 98 const char* const arg_names[],
97 const unsigned char arg_types[], 99 const unsigned char arg_types[],
98 const unsigned long long arg_values[], 100 const unsigned long long arg_values[],
99 unsigned char flags); 101 unsigned char flags);
100 102
101 bool is_attached_; 103 bool is_attached_;
102 bool is_devtools_client_; 104 bool is_devtools_client_;
103 int32 gpu_route_id_; 105 int32 gpu_route_id_;
106 bool paused_in_mouse_move_;
104 107
105 static base::subtle::AtomicWord /* TraceEventCallback */ event_callback_; 108 static base::subtle::AtomicWord /* TraceEventCallback */ event_callback_;
106 109
107 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 110 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
108 }; 111 };
109 112
110 } // namespace content 113 } // namespace content
111 114
112 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 115 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/input_router_impl.cc ('k') | content/renderer/devtools/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698