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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const std::string& frontend_url) override; 89 const std::string& frontend_url) override;
90 void CloseDevTools() override; 90 void CloseDevTools() override;
91 void EvaluateInWebInspector(long call_id, const std::string& script) override; 91 void EvaluateInWebInspector(long call_id, const std::string& script) override;
92 void ClearAllDatabases() override; 92 void ClearAllDatabases() override;
93 void SetDatabaseQuota(int quota) override; 93 void SetDatabaseQuota(int quota) override;
94 void SimulateWebNotificationClick(const std::string& title, 94 void SimulateWebNotificationClick(const std::string& title,
95 int action_index) override; 95 int action_index) override;
96 void SetDeviceScaleFactor(float factor) override; 96 void SetDeviceScaleFactor(float factor) override;
97 void SetDeviceColorProfile(const std::string& name) override; 97 void SetDeviceColorProfile(const std::string& name) override;
98 void SetBluetoothMockDataSet(const std::string& name) override; 98 void SetBluetoothMockDataSet(const std::string& name) override;
99 void SetBluetoothManualChooser() override;
100 std::vector<std::string> GetBluetoothManualChooserEvents() override;
101 void SendBluetoothManualChooserEvent(const std::string& event,
102 const std::string& argument) override;
99 void SetGeofencingMockProvider(bool service_available) override; 103 void SetGeofencingMockProvider(bool service_available) override;
100 void ClearGeofencingMockProvider() override; 104 void ClearGeofencingMockProvider() override;
101 void SetGeofencingMockPosition(double latitude, double longitude) override; 105 void SetGeofencingMockPosition(double latitude, double longitude) override;
102 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; 106 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override;
103 void SetAcceptAllCookies(bool accept) override; 107 void SetAcceptAllCookies(bool accept) override;
104 std::string PathToLocalResource(const std::string& resource) override; 108 std::string PathToLocalResource(const std::string& resource) override;
105 void SetLocale(const std::string& locale) override; 109 void SetLocale(const std::string& locale) override;
106 void TestFinished() override; 110 void TestFinished() override;
107 void CloseRemainingWindows() override; 111 void CloseRemainingWindows() override;
108 void DeleteAllCookies() override; 112 void DeleteAllCookies() override;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 183
180 scoped_ptr<LeakDetector> leak_detector_; 184 scoped_ptr<LeakDetector> leak_detector_;
181 bool needs_leak_detector_; 185 bool needs_leak_detector_;
182 186
183 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 187 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
184 }; 188 };
185 189
186 } // namespace content 190 } // namespace content
187 191
188 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 192 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/common/shell_messages.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698