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

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

Issue 8693004: Remove one more sendDebuggerCommandToAgent obsolete implementation (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_client.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_CLIENT_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/task.h" 10 #include "base/task.h"
(...skipping 11 matching lines...) Expand all
22 22
23 class TestShellDevToolsClient: public WebKit::WebDevToolsFrontendClient { 23 class TestShellDevToolsClient: public WebKit::WebDevToolsFrontendClient {
24 public: 24 public:
25 TestShellDevToolsClient(TestShellDevToolsAgent* agent, 25 TestShellDevToolsClient(TestShellDevToolsAgent* agent,
26 WebKit::WebView* web_view); 26 WebKit::WebView* web_view);
27 virtual ~TestShellDevToolsClient(); 27 virtual ~TestShellDevToolsClient();
28 28
29 // WebDevToolsFrontendClient implementation 29 // WebDevToolsFrontendClient implementation
30 virtual void sendFrontendLoaded(); 30 virtual void sendFrontendLoaded();
31 virtual void sendMessageToBackend(const WebKit::WebString& data); 31 virtual void sendMessageToBackend(const WebKit::WebString& data);
32 virtual void sendDebuggerCommandToAgent(const WebKit::WebString& command);
33 32
34 virtual void activateWindow(); 33 virtual void activateWindow();
35 virtual void closeWindow(); 34 virtual void closeWindow();
36 virtual void dockWindow(); 35 virtual void dockWindow();
37 virtual void undockWindow(); 36 virtual void undockWindow();
38 37
39 void AsyncCall(const TestShellDevToolsCallArgs& args); 38 void AsyncCall(const TestShellDevToolsCallArgs& args);
40 39
41 void all_messages_processed(); 40 void all_messages_processed();
42 41
43 private: 42 private:
44 void Call(const TestShellDevToolsCallArgs& args); 43 void Call(const TestShellDevToolsCallArgs& args);
45 44
46 base::WeakPtrFactory<TestShellDevToolsClient> weak_factory_; 45 base::WeakPtrFactory<TestShellDevToolsClient> weak_factory_;
47 TestShellDevToolsAgent* dev_tools_agent_; 46 TestShellDevToolsAgent* dev_tools_agent_;
48 WebKit::WebView* web_view_; 47 WebKit::WebView* web_view_;
49 scoped_ptr<WebKit::WebDevToolsFrontend> web_tools_frontend_; 48 scoped_ptr<WebKit::WebDevToolsFrontend> web_tools_frontend_;
50 49
51 DISALLOW_COPY_AND_ASSIGN(TestShellDevToolsClient); 50 DISALLOW_COPY_AND_ASSIGN(TestShellDevToolsClient);
52 }; 51 };
53 52
54 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_ 53 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell_devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698