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

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

Issue 783593003: [chromedriver] Add JavaScript fallback for GoBack/GoForward if DevTools commands aren't available (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@back-forward
Patch Set: fix nits Created 6 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
« no previous file with comments | « no previous file | chrome/test/chromedriver/chrome/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_CHROME_WEB_VIEW_IMPL_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_IMPL_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_IMPL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 Status OverrideGeolocation(const Geoposition& geoposition) override; 89 Status OverrideGeolocation(const Geoposition& geoposition) override;
90 Status CaptureScreenshot(std::string* screenshot) override; 90 Status CaptureScreenshot(std::string* screenshot) override;
91 Status SetFileInputFiles(const std::string& frame, 91 Status SetFileInputFiles(const std::string& frame,
92 const base::DictionaryValue& element, 92 const base::DictionaryValue& element,
93 const std::vector<base::FilePath>& files) override; 93 const std::vector<base::FilePath>& files) override;
94 Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) override; 94 Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) override;
95 Status StartProfile() override; 95 Status StartProfile() override;
96 Status EndProfile(scoped_ptr<base::Value>* profile_data) override; 96 Status EndProfile(scoped_ptr<base::Value>* profile_data) override;
97 97
98 private: 98 private:
99 Status TraverseHistoryWithJavaScript(int delta);
99 Status CallAsyncFunctionInternal(const std::string& frame, 100 Status CallAsyncFunctionInternal(const std::string& frame,
100 const std::string& function, 101 const std::string& function,
101 const base::ListValue& args, 102 const base::ListValue& args,
102 bool is_user_supplied, 103 bool is_user_supplied,
103 const base::TimeDelta& timeout, 104 const base::TimeDelta& timeout,
104 scoped_ptr<base::Value>* result); 105 scoped_ptr<base::Value>* result);
105 Status IsNotPendingNavigation(const std::string& frame_id, 106 Status IsNotPendingNavigation(const std::string& frame_id,
106 bool* is_not_pending); 107 bool* is_not_pending);
107 108
108 Status InitProfileInternal(); 109 Status InitProfileInternal();
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 Status GetNodeIdFromFunction(DevToolsClient* client, 147 Status GetNodeIdFromFunction(DevToolsClient* client,
147 int context_id, 148 int context_id,
148 const std::string& function, 149 const std::string& function,
149 const base::ListValue& args, 150 const base::ListValue& args,
150 bool* found_node, 151 bool* found_node,
151 int* node_id); 152 int* node_id);
152 153
153 } // namespace internal 154 } // namespace internal
154 155
155 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_IMPL_H_ 156 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/test/chromedriver/chrome/web_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698