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

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

Issue 2157113002: Move didFocus from WebWidgetClient to WebViewClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/web_test_proxy.h ('k') | components/test_runner/web_view_test_client.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_VIEW_TEST_CLIENT_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "third_party/WebKit/public/web/WebViewClient.h" 9 #include "third_party/WebKit/public/web/WebViewClient.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 blink::WebView* createView(blink::WebLocalFrame* creator, 47 blink::WebView* createView(blink::WebLocalFrame* creator,
48 const blink::WebURLRequest& request, 48 const blink::WebURLRequest& request,
49 const blink::WebWindowFeatures& features, 49 const blink::WebWindowFeatures& features,
50 const blink::WebString& frame_name, 50 const blink::WebString& frame_name,
51 blink::WebNavigationPolicy policy, 51 blink::WebNavigationPolicy policy,
52 bool suppress_opener) override; 52 bool suppress_opener) override;
53 void setStatusText(const blink::WebString& text) override; 53 void setStatusText(const blink::WebString& text) override;
54 void printPage(blink::WebLocalFrame* frame) override; 54 void printPage(blink::WebLocalFrame* frame) override;
55 blink::WebSpeechRecognizer* speechRecognizer() override; 55 blink::WebSpeechRecognizer* speechRecognizer() override;
56 blink::WebString acceptLanguages() override; 56 blink::WebString acceptLanguages() override;
57 void didFocus() override;
57 58
58 private: 59 private:
59 WebTestDelegate* delegate(); 60 WebTestDelegate* delegate();
60 61
61 // Borrowed pointers to other parts of Layout Tests state. 62 // Borrowed pointers to other parts of Layout Tests state.
62 TestRunner* test_runner_; 63 TestRunner* test_runner_;
63 WebTestProxyBase* web_test_proxy_base_; 64 WebTestProxyBase* web_test_proxy_base_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(WebViewTestClient); 66 DISALLOW_COPY_AND_ASSIGN(WebViewTestClient);
66 }; 67 };
67 68
68 } // namespace test_runner 69 } // namespace test_runner
69 70
70 #endif // COMPONENTS_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ 71 #endif // COMPONENTS_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.h ('k') | components/test_runner/web_view_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698