| OLD | NEW |
| 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 #include "components/test_runner/web_frame_test_client.h" | 5 #include "components/test_runner/web_frame_test_client.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 } | 688 } |
| 689 | 689 |
| 690 bool WebFrameTestClient::runFileChooser( | 690 bool WebFrameTestClient::runFileChooser( |
| 691 const blink::WebFileChooserParams& params, | 691 const blink::WebFileChooserParams& params, |
| 692 blink::WebFileChooserCompletion* completion) { | 692 blink::WebFileChooserCompletion* completion) { |
| 693 delegate_->PrintMessage("Mock: Opening a file chooser.\n"); | 693 delegate_->PrintMessage("Mock: Opening a file chooser.\n"); |
| 694 // FIXME: Add ability to set file names to a file upload control. | 694 // FIXME: Add ability to set file names to a file upload control. |
| 695 return false; | 695 return false; |
| 696 } | 696 } |
| 697 | 697 |
| 698 blink::WebEffectiveConnectionType |
| 699 WebFrameTestClient::getEffectiveConnectionType() { |
| 700 return test_runner_->effective_connection_type(); |
| 701 } |
| 702 |
| 698 } // namespace test_runner | 703 } // namespace test_runner |
| OLD | NEW |