| 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 CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 6 #define CONTENT_SHELL_RENDERER_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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void ShowValidationMessage(const blink::WebRect& anchor_in_root_view, | 109 void ShowValidationMessage(const blink::WebRect& anchor_in_root_view, |
| 110 const blink::WebString& message, | 110 const blink::WebString& message, |
| 111 const blink::WebString& sub_message, | 111 const blink::WebString& sub_message, |
| 112 blink::WebTextDirection hint); | 112 blink::WebTextDirection 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); | 116 std::string CaptureTree(bool debug_render_tree); |
| 117 void CapturePixelsForPrinting( | 117 void CapturePixelsForPrinting( |
| 118 const base::Callback<void(const SkBitmap&)>& callback); | 118 const base::Callback<void(const SkBitmap&)>& callback); |
| 119 void CopyImageAtAndCapturePixels( |
| 120 int x, int y, const base::Callback<void(const SkBitmap&)>& callback); |
| 119 void CapturePixelsAsync( | 121 void CapturePixelsAsync( |
| 120 const base::Callback<void(const SkBitmap&)>& callback); | 122 const base::Callback<void(const SkBitmap&)>& callback); |
| 121 | 123 |
| 122 void SetLogConsoleOutput(bool enabled); | 124 void SetLogConsoleOutput(bool enabled); |
| 123 | 125 |
| 124 void DidOpenChooser(); | 126 void DidOpenChooser(); |
| 125 void DidCloseChooser(); | 127 void DidCloseChooser(); |
| 126 bool IsChooserShown(); | 128 bool IsChooserShown(); |
| 127 | 129 |
| 128 void DisplayAsyncThen(const base::Closure& callback); | 130 void DisplayAsyncThen(const base::Closure& callback); |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 return WebTestProxyBase::GetWebPushClient(); | 400 return WebTestProxyBase::GetWebPushClient(); |
| 399 } | 401 } |
| 400 | 402 |
| 401 private: | 403 private: |
| 402 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 404 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 403 }; | 405 }; |
| 404 | 406 |
| 405 } // namespace content | 407 } // namespace content |
| 406 | 408 |
| 407 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ | 409 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |