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

Side by Side Diff: webkit/tools/test_shell/test_shell_devtools_agent.h

Issue 8692005: Remove usage of obsolete setMessageLoopDispatchHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell_devtools_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 void attach(TestShellDevToolsClient* client); 44 void attach(TestShellDevToolsClient* client);
45 void detach(); 45 void detach();
46 void frontendLoaded(); 46 void frontendLoaded();
47 47
48 bool evaluateInWebInspector(long call_id, const std::string& script); 48 bool evaluateInWebInspector(long call_id, const std::string& script);
49 49
50 private: 50 private:
51 void Call(const TestShellDevToolsCallArgs& args); 51 void Call(const TestShellDevToolsCallArgs& args);
52 void DelayedFrontendLoaded(); 52 void DelayedFrontendLoaded();
53 static void DispatchMessageLoop();
54 WebKit::WebDevToolsAgent* GetWebAgent(); 53 WebKit::WebDevToolsAgent* GetWebAgent();
55 54
56 base::WeakPtrFactory<TestShellDevToolsAgent> weak_factory_; 55 base::WeakPtrFactory<TestShellDevToolsAgent> weak_factory_;
57 TestShellDevToolsClient* dev_tools_client_; 56 TestShellDevToolsClient* dev_tools_client_;
58 int routing_id_; 57 int routing_id_;
59 WebKit::WebDevToolsAgent* web_dev_tools_agent_; 58 WebKit::WebDevToolsAgent* web_dev_tools_agent_;
60 WebKit::WebView* web_view_; 59 WebKit::WebView* web_view_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(TestShellDevToolsAgent); 61 DISALLOW_COPY_AND_ASSIGN(TestShellDevToolsAgent);
63 }; 62 };
64 63
65 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_ 64 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell_devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698