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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: updated test code Created 3 years, 10 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 <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void EnableUseZoomForDSF() override; 115 void EnableUseZoomForDSF() override;
116 bool IsUseZoomForDSFEnabled() override; 116 bool IsUseZoomForDSFEnabled() override;
117 void SetBluetoothFakeAdapter(const std::string& adapter_name, 117 void SetBluetoothFakeAdapter(const std::string& adapter_name,
118 const base::Closure& callback) override; 118 const base::Closure& callback) override;
119 void SetBluetoothManualChooser(bool enable) override; 119 void SetBluetoothManualChooser(bool enable) override;
120 void GetBluetoothManualChooserEvents( 120 void GetBluetoothManualChooserEvents(
121 const base::Callback<void(const std::vector<std::string>&)>& callback) 121 const base::Callback<void(const std::vector<std::string>&)>& callback)
122 override; 122 override;
123 void SendBluetoothManualChooserEvent(const std::string& event, 123 void SendBluetoothManualChooserEvent(const std::string& event,
124 const std::string& argument) override; 124 const std::string& argument) override;
125 void ResetBluetoothAllowedDevicesMap() override;
125 void SetFocus(blink::WebView* web_view, bool focus) override; 126 void SetFocus(blink::WebView* web_view, bool focus) override;
126 void SetBlockThirdPartyCookies(bool block) override; 127 void SetBlockThirdPartyCookies(bool block) override;
127 std::string PathToLocalResource(const std::string& resource) override; 128 std::string PathToLocalResource(const std::string& resource) override;
128 void SetLocale(const std::string& locale) override; 129 void SetLocale(const std::string& locale) override;
129 void OnLayoutTestRuntimeFlagsChanged( 130 void OnLayoutTestRuntimeFlagsChanged(
130 const base::DictionaryValue& changed_values) override; 131 const base::DictionaryValue& changed_values) override;
131 void TestFinished() override; 132 void TestFinished() override;
132 void CloseRemainingWindows() override; 133 void CloseRemainingWindows() override;
133 void DeleteAllCookies() override; 134 void DeleteAllCookies() override;
134 int NavigationEntryCount() override; 135 int NavigationEntryCount() override;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 std::unique_ptr<test_runner::AppBannerService> app_banner_service_; 227 std::unique_ptr<test_runner::AppBannerService> app_banner_service_;
227 228
228 std::unique_ptr<LeakDetector> leak_detector_; 229 std::unique_ptr<LeakDetector> leak_detector_;
229 230
230 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 231 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
231 }; 232 };
232 233
233 } // namespace content 234 } // namespace content
234 235
235 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 236 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698