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

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

Issue 1538803002: Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/test_runner/test_preferences.h" 10 #include "components/test_runner/test_preferences.h"
(...skipping 27 matching lines...) Expand all
38 void SetEditCommand(const std::string& name, 38 void SetEditCommand(const std::string& name,
39 const std::string& value) override; 39 const std::string& value) override;
40 void SetGamepadProvider(test_runner::GamepadController* controller) override; 40 void SetGamepadProvider(test_runner::GamepadController* controller) override;
41 void SetDeviceLightData(const double data) override; 41 void SetDeviceLightData(const double data) override;
42 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; 42 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override;
43 void SetDeviceOrientationData( 43 void SetDeviceOrientationData(
44 const blink::WebDeviceOrientationData& data) override; 44 const blink::WebDeviceOrientationData& data) override;
45 void SetScreenOrientation( 45 void SetScreenOrientation(
46 const blink::WebScreenOrientationType& orientation) override; 46 const blink::WebScreenOrientationType& orientation) override;
47 void ResetScreenOrientation() override; 47 void ResetScreenOrientation() override;
48 void DidChangeBatteryStatus(const blink::WebBatteryStatus& status) override;
49 void PrintMessage(const std::string& message) override; 48 void PrintMessage(const std::string& message) override;
50 void PostTask(test_runner::WebTask* task) override; 49 void PostTask(test_runner::WebTask* task) override;
51 void PostDelayedTask(test_runner::WebTask* task, long long ms) override; 50 void PostDelayedTask(test_runner::WebTask* task, long long ms) override;
52 blink::WebString RegisterIsolatedFileSystem( 51 blink::WebString RegisterIsolatedFileSystem(
53 const blink::WebVector<blink::WebString>& absolute_filenames) override; 52 const blink::WebVector<blink::WebString>& absolute_filenames) override;
54 long long GetCurrentTimeInMillisecond() override; 53 long long GetCurrentTimeInMillisecond() override;
55 blink::WebString GetAbsoluteWebStringFromUTF8Path( 54 blink::WebString GetAbsoluteWebStringFromUTF8Path(
56 const std::string& path) override; 55 const std::string& path) override;
57 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; 56 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override;
58 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; 57 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 test_runner::WebTestInterfaces* test_interfaces_; 132 test_runner::WebTestInterfaces* test_interfaces_;
134 test_runner::WebTestProxyBase* proxy_; 133 test_runner::WebTestProxyBase* proxy_;
135 base::Closure completion_callback_; 134 base::Closure completion_callback_;
136 135
137 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); 136 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl);
138 }; 137 };
139 138
140 } // namespace html_viewer 139 } // namespace html_viewer
141 140
142 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 141 #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') | third_party/WebKit/Source/platform/base/Bind.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698