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

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

Issue 2093343002: Scale the emulated event in EventSender when use-zoom-for-dsf is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Scale the emulated event in EventSender when use-zoom-for-dsf is enabled Created 4 years, 5 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void EvaluateInWebInspector(int call_id, const std::string& script) override; 97 void EvaluateInWebInspector(int call_id, const std::string& script) override;
98 std::string EvaluateInWebInspectorOverlay(const std::string& script) override; 98 std::string EvaluateInWebInspectorOverlay(const std::string& script) override;
99 void ClearAllDatabases() override; 99 void ClearAllDatabases() override;
100 void SetDatabaseQuota(int quota) override; 100 void SetDatabaseQuota(int quota) override;
101 void SimulateWebNotificationClick(const std::string& title, 101 void SimulateWebNotificationClick(const std::string& title,
102 int action_index) override; 102 int action_index) override;
103 void SimulateWebNotificationClose(const std::string& title, 103 void SimulateWebNotificationClose(const std::string& title,
104 bool by_user) override; 104 bool by_user) override;
105 void SetDeviceScaleFactor(float factor) override; 105 void SetDeviceScaleFactor(float factor) override;
106 void SetDeviceColorProfile(const std::string& name) override; 106 void SetDeviceColorProfile(const std::string& name) override;
107 float GetWindowToViewportScale() override;
107 void EnableUseZoomForDSF() override; 108 void EnableUseZoomForDSF() override;
108 bool IsUseZoomForDSFEnabled() override; 109 bool IsUseZoomForDSFEnabled() override;
109 void SetBluetoothFakeAdapter(const std::string& adapter_name, 110 void SetBluetoothFakeAdapter(const std::string& adapter_name,
110 const base::Closure& callback) override; 111 const base::Closure& callback) override;
111 void SetBluetoothManualChooser(bool enable) override; 112 void SetBluetoothManualChooser(bool enable) override;
112 void GetBluetoothManualChooserEvents( 113 void GetBluetoothManualChooserEvents(
113 const base::Callback<void(const std::vector<std::string>&)>& callback) 114 const base::Callback<void(const std::vector<std::string>&)>& callback)
114 override; 115 override;
115 void SendBluetoothManualChooserEvent(const std::string& event, 116 void SendBluetoothManualChooserEvent(const std::string& event,
116 const std::string& argument) override; 117 const std::string& argument) override;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 bool focus_on_next_commit_; 213 bool focus_on_next_commit_;
213 214
214 std::unique_ptr<LeakDetector> leak_detector_; 215 std::unique_ptr<LeakDetector> leak_detector_;
215 216
216 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 217 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
217 }; 218 };
218 219
219 } // namespace content 220 } // namespace content
220 221
221 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 222 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/public/test/layouttest_support.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