OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "components/test_runner/test_preferences.h" | 10 #include "components/test_runner/test_preferences.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 void ClearDevToolsLocalStorage() override; | 65 void ClearDevToolsLocalStorage() override; |
66 void ShowDevTools(const std::string& settings, | 66 void ShowDevTools(const std::string& settings, |
67 const std::string& frontend_url) override; | 67 const std::string& frontend_url) override; |
68 void CloseDevTools() override; | 68 void CloseDevTools() override; |
69 void EvaluateInWebInspector(long call_id, const std::string& script) override; | 69 void EvaluateInWebInspector(long call_id, const std::string& script) override; |
70 std::string EvaluateInWebInspectorOverlay(const std::string& script) override; | 70 std::string EvaluateInWebInspectorOverlay(const std::string& script) override; |
71 void ClearAllDatabases() override; | 71 void ClearAllDatabases() override; |
72 void SetDatabaseQuota(int quota) override; | 72 void SetDatabaseQuota(int quota) override; |
73 void SimulateWebNotificationClick(const std::string& title, | 73 void SimulateWebNotificationClick(const std::string& title, |
74 int action_index) override; | 74 int action_index) override; |
| 75 void SimulateWebNotificationClose(const std::string& title, |
| 76 bool by_user) override; |
75 void SetDeviceScaleFactor(float factor) override; | 77 void SetDeviceScaleFactor(float factor) override; |
76 void EnableUseZoomForDSF() override; | 78 void EnableUseZoomForDSF() override; |
77 void SetDeviceColorProfile(const std::string& name) override; | 79 void SetDeviceColorProfile(const std::string& name) override; |
78 void SetBluetoothMockDataSet(const std::string& data_set) override; | 80 void SetBluetoothMockDataSet(const std::string& data_set) override; |
79 void SetBluetoothManualChooser() override; | 81 void SetBluetoothManualChooser() override; |
80 void GetBluetoothManualChooserEvents( | 82 void GetBluetoothManualChooserEvents( |
81 const base::Callback<void(const std::vector<std::string>&)>& callback) | 83 const base::Callback<void(const std::vector<std::string>&)>& callback) |
82 override; | 84 override; |
83 void SendBluetoothManualChooserEvent(const std::string& event, | 85 void SendBluetoothManualChooserEvent(const std::string& event, |
84 const std::string& argument) override; | 86 const std::string& argument) override; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 test_runner::WebTestInterfaces* test_interfaces_; | 135 test_runner::WebTestInterfaces* test_interfaces_; |
134 test_runner::WebTestProxyBase* proxy_; | 136 test_runner::WebTestProxyBase* proxy_; |
135 base::Closure completion_callback_; | 137 base::Closure completion_callback_; |
136 | 138 |
137 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); | 139 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); |
138 }; | 140 }; |
139 | 141 |
140 } // namespace html_viewer | 142 } // namespace html_viewer |
141 | 143 |
142 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 144 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
OLD | NEW |