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

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

Issue 1456753002: Compute the popup location/size correctly when use-zoom-for-dsf is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update TestExpectations Created 5 years 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
« no previous file with comments | « components/html_viewer/web_test_delegate_impl.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 512
513 // Gives focus to the window. 513 // Gives focus to the window.
514 void SetWindowIsKey(bool value); 514 void SetWindowIsKey(bool value);
515 515
516 // Converts a URL starting with file:///tmp/ to the local mapping. 516 // Converts a URL starting with file:///tmp/ to the local mapping.
517 std::string PathToLocalResource(const std::string& path); 517 std::string PathToLocalResource(const std::string& path);
518 518
519 // Used to set the device scale factor. 519 // Used to set the device scale factor.
520 void SetBackingScaleFactor(double value, v8::Local<v8::Function> callback); 520 void SetBackingScaleFactor(double value, v8::Local<v8::Function> callback);
521 521
522 // Enable zoom-for-dsf option.
523 // TODO(oshima): Remove this once all platforms migrated.
524 void EnableUseZoomForDSF(v8::Local<v8::Function> callback);
525
522 // Change the device color profile while running a layout test. 526 // Change the device color profile while running a layout test.
523 void SetColorProfile(const std::string& name, 527 void SetColorProfile(const std::string& name,
524 v8::Local<v8::Function> callback); 528 v8::Local<v8::Function> callback);
525 529
526 // Change the bluetooth test data while running a layout test and resets the 530 // Change the bluetooth test data while running a layout test and resets the
527 // chooser to accept the first device. 531 // chooser to accept the first device.
528 void SetBluetoothMockDataSet(const std::string& name); 532 void SetBluetoothMockDataSet(const std::string& name);
529 533
530 // Makes the Bluetooth chooser record its input and wait for instructions from 534 // Makes the Bluetooth chooser record its input and wait for instructions from
531 // the test program on how to proceed. 535 // the test program on how to proceed.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 bool use_mock_theme_; 839 bool use_mock_theme_;
836 840
837 base::WeakPtrFactory<TestRunner> weak_factory_; 841 base::WeakPtrFactory<TestRunner> weak_factory_;
838 842
839 DISALLOW_COPY_AND_ASSIGN(TestRunner); 843 DISALLOW_COPY_AND_ASSIGN(TestRunner);
840 }; 844 };
841 845
842 } // namespace test_runner 846 } // namespace test_runner
843 847
844 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 848 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_test_delegate_impl.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698