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

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

Issue 1589643003: OOPIF support for testRunner.dumpAsText and similar layout dumps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 10 months 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/test_runner/test_runner.gyp ('k') | components/test_runner/web_test_proxy.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_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
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
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_
OLDNEW
« no previous file with comments | « components/test_runner/test_runner.gyp ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698