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

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

Issue 2797073002: Move WebTextCheckClient reference from WebViewImpl to WebLocalFrameImpl (Closed)
Patch Set: Spell my name correctly Created 3 years, 8 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
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 CONTENT_SHELL_TEST_RUNNER_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_TEST_RUNNER_H_
6 #define CONTENT_SHELL_TEST_RUNNER_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool IsRecursiveLayoutDumpRequested() override; 93 bool IsRecursiveLayoutDumpRequested() override;
94 std::string DumpLayout(blink::WebLocalFrame* frame) override; 94 std::string DumpLayout(blink::WebLocalFrame* frame) override;
95 void DumpPixelsAsync( 95 void DumpPixelsAsync(
96 blink::WebView* web_view, 96 blink::WebView* web_view,
97 const base::Callback<void(const SkBitmap&)>& callback) override; 97 const base::Callback<void(const SkBitmap&)>& callback) override;
98 void ReplicateLayoutTestRuntimeFlagsChanges( 98 void ReplicateLayoutTestRuntimeFlagsChanges(
99 const base::DictionaryValue& changed_values) override; 99 const base::DictionaryValue& changed_values) override;
100 bool HasCustomTextDump(std::string* custom_text_dump) const override; 100 bool HasCustomTextDump(std::string* custom_text_dump) const override;
101 bool ShouldDumpBackForwardList() const override; 101 bool ShouldDumpBackForwardList() const override;
102 blink::WebContentSettingsClient* GetWebContentSettings() const override; 102 blink::WebContentSettingsClient* GetWebContentSettings() const override;
103 blink::WebTextCheckClient* GetWebTextCheckClient() const override;
103 void InitializeWebViewWithMocks(blink::WebView* web_view) override; 104 void InitializeWebViewWithMocks(blink::WebView* web_view) override;
104 void SetFocus(blink::WebView* web_view, bool focus) override; 105 void SetFocus(blink::WebView* web_view, bool focus) override;
105 106
106 // Methods used by WebViewTestClient and WebFrameTestClient. 107 // Methods used by WebViewTestClient and WebFrameTestClient.
107 void OnNavigationBegin(blink::WebFrame* frame); 108 void OnNavigationBegin(blink::WebFrame* frame);
108 void OnNavigationEnd() { will_navigate_ = false; } 109 void OnNavigationEnd() { will_navigate_ = false; }
109 std::string GetAcceptLanguages() const; 110 std::string GetAcceptLanguages() const;
110 bool shouldStayOnPageAfterHandlingBeforeUnload() const; 111 bool shouldStayOnPageAfterHandlingBeforeUnload() const;
111 MockScreenOrientationClient* getMockScreenOrientationClient(); 112 MockScreenOrientationClient* getMockScreenOrientationClient();
112 MockWebUserMediaClient* getMockWebUserMediaClient(); 113 MockWebUserMediaClient* getMockWebUserMediaClient();
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 bool disable_v8_cache_ = false; 667 bool disable_v8_cache_ = false;
667 668
668 base::WeakPtrFactory<TestRunner> weak_factory_; 669 base::WeakPtrFactory<TestRunner> weak_factory_;
669 670
670 DISALLOW_COPY_AND_ASSIGN(TestRunner); 671 DISALLOW_COPY_AND_ASSIGN(TestRunner);
671 }; 672 };
672 673
673 } // namespace test_runner 674 } // namespace test_runner
674 675
675 #endif // CONTENT_SHELL_TEST_RUNNER_TEST_RUNNER_H_ 676 #endif // CONTENT_SHELL_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/layout_test/layout_test_render_frame_observer.cc ('k') | content/shell/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698