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

Side by Side Diff: components/test_runner/test_runner_for_specific_view.h

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Enable zoom-for-dsf option. 127 // Enable zoom-for-dsf option.
128 // TODO(oshima): Remove this once all platforms migrated. 128 // TODO(oshima): Remove this once all platforms migrated.
129 void EnableUseZoomForDSF(v8::Local<v8::Function> callback); 129 void EnableUseZoomForDSF(v8::Local<v8::Function> callback);
130 130
131 // Change the device color profile while running a layout test. 131 // Change the device color profile while running a layout test.
132 void SetColorProfile(const std::string& name, 132 void SetColorProfile(const std::string& name,
133 v8::Local<v8::Function> callback); 133 v8::Local<v8::Function> callback);
134 134
135 // Causes the beforeinstallprompt event to be sent to the renderer. 135 // Causes the beforeinstallprompt event to be sent to the renderer.
136 void DispatchBeforeInstallPromptEvent( 136 void DispatchBeforeInstallPromptEvent(
137 int request_id,
138 const std::vector<std::string>& event_platforms, 137 const std::vector<std::string>& event_platforms,
139 v8::Local<v8::Function> callback); 138 v8::Local<v8::Function> callback);
140 void DispatchBeforeInstallPromptCallback( 139 void DispatchBeforeInstallPromptCallback(
141 v8::UniquePersistent<v8::Function> callback, 140 v8::UniquePersistent<v8::Function> callback,
142 bool canceled); 141 bool canceled);
143 142
144 // Immediately run all pending idle tasks, including all pending 143 // Immediately run all pending idle tasks, including all pending
145 // requestIdleCallback calls. Invoke the callback when all 144 // requestIdleCallback calls. Invoke the callback when all
146 // idle tasks are complete. 145 // idle tasks are complete.
147 void RunIdleTasks(v8::Local<v8::Function> callback); 146 void RunIdleTasks(v8::Local<v8::Function> callback);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 WebViewTestProxyBase* web_view_test_proxy_base_; 222 WebViewTestProxyBase* web_view_test_proxy_base_;
224 223
225 base::WeakPtrFactory<TestRunnerForSpecificView> weak_factory_; 224 base::WeakPtrFactory<TestRunnerForSpecificView> weak_factory_;
226 225
227 DISALLOW_COPY_AND_ASSIGN(TestRunnerForSpecificView); 226 DISALLOW_COPY_AND_ASSIGN(TestRunnerForSpecificView);
228 }; 227 };
229 228
230 } // namespace test_runner 229 } // namespace test_runner
231 230
232 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ 231 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_
OLDNEW
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | components/test_runner/test_runner_for_specific_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698