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

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

Issue 15028002: Delete test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dummy test_shell build target. Created 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h"
10
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsFrontendCl ient.h"
12
13 namespace WebKit {
14
15 class WebDevToolsFrontend;
16
17 } // namespace WebKit
18
19 class TestShellDevToolsCallArgs;
20 class TestShellDevToolsAgent;
21
22 class TestShellDevToolsClient: public WebKit::WebDevToolsFrontendClient {
23 public:
24 TestShellDevToolsClient(TestShellDevToolsAgent* agent,
25 WebKit::WebView* web_view);
26 virtual ~TestShellDevToolsClient();
27
28 // WebDevToolsFrontendClient implementation
29 virtual void sendMessageToBackend(const WebKit::WebString& data);
30
31 virtual void activateWindow();
32 virtual void closeWindow();
33 virtual void dockWindow();
34 virtual void undockWindow();
35
36 void AsyncCall(const TestShellDevToolsCallArgs& args);
37
38 void all_messages_processed();
39
40 private:
41 void Call(const TestShellDevToolsCallArgs& args);
42
43 base::WeakPtrFactory<TestShellDevToolsClient> weak_factory_;
44 TestShellDevToolsAgent* dev_tools_agent_;
45 WebKit::WebView* web_view_;
46 scoped_ptr<WebKit::WebDevToolsFrontend> web_tools_frontend_;
47
48 DISALLOW_COPY_AND_ASSIGN(TestShellDevToolsClient);
49 };
50
51 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_DEVTOOLS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698