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

Side by Side Diff: chrome/test/chromedriver/web_view_impl.h

Issue 12321057: [chromedriver] Implement reconnection to DevTools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 7 years, 9 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
« no previous file with comments | « chrome/test/chromedriver/web_view.h ('k') | chrome/test/chromedriver/web_view_impl.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_
6 #define CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 typedef base::Callback<Status()> CloserFunc; 33 typedef base::Callback<Status()> CloserFunc;
34 // Takes ownership of |client|. 34 // Takes ownership of |client|.
35 WebViewImpl(const std::string& id, 35 WebViewImpl(const std::string& id,
36 DevToolsClient* client, 36 DevToolsClient* client,
37 WebViewDelegate* delegate, 37 WebViewDelegate* delegate,
38 const CloserFunc& closer_func); 38 const CloserFunc& closer_func);
39 virtual ~WebViewImpl(); 39 virtual ~WebViewImpl();
40 40
41 // Overridden from WebView: 41 // Overridden from WebView:
42 virtual std::string GetId() OVERRIDE; 42 virtual std::string GetId() OVERRIDE;
43 virtual Status ConnectIfNecessary() OVERRIDE;
43 virtual Status Close() OVERRIDE; 44 virtual Status Close() OVERRIDE;
44 virtual Status Load(const std::string& url) OVERRIDE; 45 virtual Status Load(const std::string& url) OVERRIDE;
45 virtual Status Reload() OVERRIDE; 46 virtual Status Reload() OVERRIDE;
46 virtual Status EvaluateScript(const std::string& frame, 47 virtual Status EvaluateScript(const std::string& frame,
47 const std::string& expression, 48 const std::string& expression,
48 scoped_ptr<base::Value>* result) OVERRIDE; 49 scoped_ptr<base::Value>* result) OVERRIDE;
49 virtual Status CallFunction(const std::string& frame, 50 virtual Status CallFunction(const std::string& frame,
50 const std::string& function, 51 const std::string& function,
51 const base::ListValue& args, 52 const base::ListValue& args,
52 scoped_ptr<base::Value>* result) OVERRIDE; 53 scoped_ptr<base::Value>* result) OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 scoped_ptr<base::Value>* result); 98 scoped_ptr<base::Value>* result);
98 Status GetNodeIdFromFunction(DevToolsClient* client, 99 Status GetNodeIdFromFunction(DevToolsClient* client,
99 int context_id, 100 int context_id,
100 const std::string& function, 101 const std::string& function,
101 const base::ListValue& args, 102 const base::ListValue& args,
102 int* node_id); 103 int* node_id);
103 104
104 } // namespace internal 105 } // namespace internal
105 106
106 #endif // CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_ 107 #endif // CHROME_TEST_CHROMEDRIVER_WEB_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/web_view.h ('k') | chrome/test/chromedriver/web_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698