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

Side by Side Diff: components/html_viewer/web_test_delegate_impl.h

Issue 1325953002: Add functions to let tests read and control the Bluetooth chooser state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Add a forgotten semicolon. :-/ Created 5 years, 3 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
« no previous file with comments | « no previous file | components/html_viewer/web_test_delegate_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 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/macros.h" 8 #include "base/macros.h"
9 #include "components/test_runner/test_preferences.h" 9 #include "components/test_runner/test_preferences.h"
10 #include "components/test_runner/web_test_delegate.h" 10 #include "components/test_runner/web_test_delegate.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const std::string& frontend_url) override; 63 const std::string& frontend_url) override;
64 void CloseDevTools() override; 64 void CloseDevTools() override;
65 void EvaluateInWebInspector(long call_id, const std::string& script) override; 65 void EvaluateInWebInspector(long call_id, const std::string& script) override;
66 void ClearAllDatabases() override; 66 void ClearAllDatabases() override;
67 void SetDatabaseQuota(int quota) override; 67 void SetDatabaseQuota(int quota) override;
68 void SimulateWebNotificationClick(const std::string& title, 68 void SimulateWebNotificationClick(const std::string& title,
69 int action_index) override; 69 int action_index) override;
70 void SetDeviceScaleFactor(float factor) override; 70 void SetDeviceScaleFactor(float factor) override;
71 void SetDeviceColorProfile(const std::string& name) override; 71 void SetDeviceColorProfile(const std::string& name) override;
72 void SetBluetoothMockDataSet(const std::string& data_set) override; 72 void SetBluetoothMockDataSet(const std::string& data_set) override;
73 void SetBluetoothManualChooser() override;
74 std::vector<std::string> GetBluetoothManualChooserEvents() override;
75 void SendBluetoothManualChooserEvent(const std::string& event,
76 const std::string& argument) override;
73 void SetGeofencingMockProvider(bool service_available) override; 77 void SetGeofencingMockProvider(bool service_available) override;
74 void ClearGeofencingMockProvider() override; 78 void ClearGeofencingMockProvider() override;
75 void SetGeofencingMockPosition(double latitude, double longitude) override; 79 void SetGeofencingMockPosition(double latitude, double longitude) override;
76 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; 80 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override;
77 void SetAcceptAllCookies(bool accept) override; 81 void SetAcceptAllCookies(bool accept) override;
78 std::string PathToLocalResource(const std::string& resource) override; 82 std::string PathToLocalResource(const std::string& resource) override;
79 void SetLocale(const std::string& locale) override; 83 void SetLocale(const std::string& locale) override;
80 void TestFinished() override; 84 void TestFinished() override;
81 void CloseRemainingWindows() override; 85 void CloseRemainingWindows() override;
82 void DeleteAllCookies() override; 86 void DeleteAllCookies() override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 test_runner::WebTestInterfaces* test_interfaces_; 118 test_runner::WebTestInterfaces* test_interfaces_;
115 test_runner::WebTestProxyBase* proxy_; 119 test_runner::WebTestProxyBase* proxy_;
116 std::string dump_tree_; 120 std::string dump_tree_;
117 121
118 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); 122 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl);
119 }; 123 };
120 124
121 } // namespace html_viewer 125 } // namespace html_viewer
122 126
123 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 127 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/web_test_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698