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

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

Issue 702593002: bluetooth: Initial simple mock content::WebBluetoothImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ Created 6 years, 1 month 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_WEBKIT_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_WEBKIT_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 void ClearAllDatabases() override; 89 void ClearAllDatabases() override;
90 void SetDatabaseQuota(int quota) override; 90 void SetDatabaseQuota(int quota) override;
91 blink::WebNotificationPresenter::Permission CheckWebNotificationPermission( 91 blink::WebNotificationPresenter::Permission CheckWebNotificationPermission(
92 const GURL& origin) override; 92 const GURL& origin) override;
93 void GrantWebNotificationPermission(const GURL& origin, 93 void GrantWebNotificationPermission(const GURL& origin,
94 bool permission_granted) override; 94 bool permission_granted) override;
95 void ClearWebNotificationPermissions() override; 95 void ClearWebNotificationPermissions() override;
96 void SimulateWebNotificationClick(const std::string& title) override; 96 void SimulateWebNotificationClick(const std::string& title) override;
97 void SetDeviceScaleFactor(float factor) override; 97 void SetDeviceScaleFactor(float factor) override;
98 void SetDeviceColorProfile(const std::string& name) override; 98 void SetDeviceColorProfile(const std::string& name) override;
99 void SetBluetoothMockDataSet(const std::string& name) override;
99 void SetFocus(WebTestProxyBase* proxy, bool focus) override; 100 void SetFocus(WebTestProxyBase* proxy, bool focus) override;
100 void SetAcceptAllCookies(bool accept) override; 101 void SetAcceptAllCookies(bool accept) override;
101 std::string PathToLocalResource(const std::string& resource) override; 102 std::string PathToLocalResource(const std::string& resource) override;
102 void SetLocale(const std::string& locale) override; 103 void SetLocale(const std::string& locale) override;
103 void TestFinished() override; 104 void TestFinished() override;
104 void CloseRemainingWindows() override; 105 void CloseRemainingWindows() override;
105 void DeleteAllCookies() override; 106 void DeleteAllCookies() override;
106 int NavigationEntryCount() override; 107 int NavigationEntryCount() override;
107 void GoToOffset(int offset) override; 108 void GoToOffset(int offset) override;
108 void Reload() override; 109 void Reload() override;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 154
154 scoped_ptr<LeakDetector> leak_detector_; 155 scoped_ptr<LeakDetector> leak_detector_;
155 bool needs_leak_detector_; 156 bool needs_leak_detector_;
156 157
157 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); 158 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
158 }; 159 };
159 160
160 } // namespace content 161 } // namespace content
161 162
162 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 163 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | content/shell/renderer/layout_test/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698