| OLD | NEW |
| 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_WEB_TEST_PROXY_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 blink::WebColorChooserClient* client, | 104 blink::WebColorChooserClient* client, |
| 105 const blink::WebColor& color, | 105 const blink::WebColor& color, |
| 106 const blink::WebVector<blink::WebColorSuggestion>& suggestions); | 106 const blink::WebVector<blink::WebColorSuggestion>& suggestions); |
| 107 bool RunFileChooser(const blink::WebFileChooserParams& params, | 107 bool RunFileChooser(const blink::WebFileChooserParams& params, |
| 108 blink::WebFileChooserCompletion* completion); | 108 blink::WebFileChooserCompletion* completion); |
| 109 void ShowValidationMessage(const base::string16& message, | 109 void ShowValidationMessage(const base::string16& message, |
| 110 const base::string16& sub_message); | 110 const base::string16& sub_message); |
| 111 void HideValidationMessage(); | 111 void HideValidationMessage(); |
| 112 void MoveValidationMessage(const blink::WebRect& anchor_in_root_view); | 112 void MoveValidationMessage(const blink::WebRect& anchor_in_root_view); |
| 113 | 113 |
| 114 std::string CaptureTree(bool debug_render_tree); | 114 std::string CaptureTree(bool debug_render_tree, bool dump_line_box_trees); |
| 115 void CapturePixelsForPrinting( | 115 void CapturePixelsForPrinting( |
| 116 const base::Callback<void(const SkBitmap&)>& callback); | 116 const base::Callback<void(const SkBitmap&)>& callback); |
| 117 void CopyImageAtAndCapturePixels( | 117 void CopyImageAtAndCapturePixels( |
| 118 int x, int y, const base::Callback<void(const SkBitmap&)>& callback); | 118 int x, int y, const base::Callback<void(const SkBitmap&)>& callback); |
| 119 void CapturePixelsAsync( | 119 void CapturePixelsAsync( |
| 120 const base::Callback<void(const SkBitmap&)>& callback); | 120 const base::Callback<void(const SkBitmap&)>& callback); |
| 121 | 121 |
| 122 void SetLogConsoleOutput(bool enabled); | 122 void SetLogConsoleOutput(bool enabled); |
| 123 | 123 |
| 124 void DidOpenChooser(); | 124 void DidOpenChooser(); |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 | 402 |
| 403 private: | 403 private: |
| 404 virtual ~WebTestProxy() {} | 404 virtual ~WebTestProxy() {} |
| 405 | 405 |
| 406 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 406 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 407 }; | 407 }; |
| 408 | 408 |
| 409 } // namespace test_runner | 409 } // namespace test_runner |
| 410 | 410 |
| 411 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 411 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |