| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |