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

Side by Side Diff: content/shell/renderer/test_runner/WebTestProxy.h

Issue 274253002: Make WebTestProxy handle printing + compositing mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/WebTestProxy.cpp » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEBTESTPROXY_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 blink::WebSpellCheckClient *spellCheckClient() const; 93 blink::WebSpellCheckClient *spellCheckClient() const;
94 blink::WebColorChooser* createColorChooser(blink::WebColorChooserClient*, co nst blink::WebColor&, const blink::WebVector<blink::WebColorSuggestion>& suggest ions); 94 blink::WebColorChooser* createColorChooser(blink::WebColorChooserClient*, co nst blink::WebColor&, const blink::WebVector<blink::WebColorSuggestion>& suggest ions);
95 bool runFileChooser(const blink::WebFileChooserParams&, blink::WebFileChoose rCompletion*); 95 bool runFileChooser(const blink::WebFileChooserParams&, blink::WebFileChoose rCompletion*);
96 void showValidationMessage(const blink::WebRect& anchorInRootView, const bli nk::WebString& mainText, const blink::WebString& supplementalText, blink::WebTex tDirection); 96 void showValidationMessage(const blink::WebRect& anchorInRootView, const bli nk::WebString& mainText, const blink::WebString& supplementalText, blink::WebTex tDirection);
97 void hideValidationMessage(); 97 void hideValidationMessage();
98 void moveValidationMessage(const blink::WebRect& anchorInRootView); 98 void moveValidationMessage(const blink::WebRect& anchorInRootView);
99 99
100 std::string captureTree(bool debugRenderTree); 100 std::string captureTree(bool debugRenderTree);
101 SkCanvas* capturePixels(); 101 SkCanvas* capturePixels();
102 void CapturePixelsForPrinting(
103 base::Callback<void(const SkBitmap&)> callback);
102 void CapturePixelsAsync(base::Callback<void(const SkBitmap&)> callback); 104 void CapturePixelsAsync(base::Callback<void(const SkBitmap&)> callback);
103 105
104 void setLogConsoleOutput(bool enabled); 106 void setLogConsoleOutput(bool enabled);
105 107
106 // FIXME: Make this private again. 108 // FIXME: Make this private again.
107 void scheduleComposite(); 109 void scheduleComposite();
108 110
109 void didOpenChooser(); 111 void didOpenChooser();
110 void didCloseChooser(); 112 void didCloseChooser();
111 bool isChooserShown(); 113 bool isChooserShown();
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 WebTestProxyBase::postSpellCheckEvent(eventName); 373 WebTestProxyBase::postSpellCheckEvent(eventName);
372 } 374 }
373 375
374 private: 376 private:
375 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); 377 DISALLOW_COPY_AND_ASSIGN(WebTestProxy);
376 }; 378 };
377 379
378 } // namespace content 380 } // namespace content
379 381
380 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ 382 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/WebTestProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698