| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 blink::WebString& main_message, | 109 void ShowValidationMessage(const blink::WebString& main_message, |
| 110 blink::WebTextDirection main_message_hint, | 110 blink::WebTextDirection main_message_hint, |
| 111 const blink::WebString& sub_message, | 111 const blink::WebString& sub_message, |
| 112 blink::WebTextDirection sub_message_hint); | 112 blink::WebTextDirection sub_message_hint); |
| 113 void HideValidationMessage(); | 113 void HideValidationMessage(); |
| 114 void MoveValidationMessage(const blink::WebRect& anchor_in_root_view); | 114 void MoveValidationMessage(const blink::WebRect& anchor_in_root_view); |
| 115 | 115 |
| 116 std::string CaptureTree(bool debug_render_tree, bool dump_line_box_trees); | 116 std::string CaptureTree(bool debug_render_tree, bool dump_line_box_trees); |
| 117 std::string DumpBackForwardLists(); |
| 117 void CapturePixelsForPrinting( | 118 void CapturePixelsForPrinting( |
| 118 const base::Callback<void(const SkBitmap&)>& callback); | 119 const base::Callback<void(const SkBitmap&)>& callback); |
| 119 void CopyImageAtAndCapturePixels( | 120 void CopyImageAtAndCapturePixels( |
| 120 int x, int y, const base::Callback<void(const SkBitmap&)>& callback); | 121 int x, int y, const base::Callback<void(const SkBitmap&)>& callback); |
| 121 void CapturePixelsAsync( | 122 void CapturePixelsAsync( |
| 122 const base::Callback<void(const SkBitmap&)>& callback); | 123 const base::Callback<void(const SkBitmap&)>& callback); |
| 123 | 124 |
| 124 void SetLogConsoleOutput(bool enabled); | 125 void SetLogConsoleOutput(bool enabled); |
| 125 | 126 |
| 126 void DidOpenChooser(); | 127 void DidOpenChooser(); |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 389 |
| 389 private: | 390 private: |
| 390 virtual ~WebTestProxy() {} | 391 virtual ~WebTestProxy() {} |
| 391 | 392 |
| 392 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 393 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 393 }; | 394 }; |
| 394 | 395 |
| 395 } // namespace test_runner | 396 } // namespace test_runner |
| 396 | 397 |
| 397 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 398 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |