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

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

Issue 2762553002: Add canUpdateLayout & canHandleGestureEvent to WebViewClient. (Closed)
Patch Set: Fix merge issues. 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/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 CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ 6 #define CONTENT_SHELL_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 29 matching lines...) Expand all
40 const blink::WebURLRequest& request, 40 const blink::WebURLRequest& request,
41 const blink::WebWindowFeatures& features, 41 const blink::WebWindowFeatures& features,
42 const blink::WebString& frame_name, 42 const blink::WebString& frame_name,
43 blink::WebNavigationPolicy policy, 43 blink::WebNavigationPolicy policy,
44 bool suppress_opener) override; 44 bool suppress_opener) override;
45 void setStatusText(const blink::WebString& text) override; 45 void setStatusText(const blink::WebString& text) override;
46 void printPage(blink::WebLocalFrame* frame) override; 46 void printPage(blink::WebLocalFrame* frame) override;
47 blink::WebSpeechRecognizer* speechRecognizer() override; 47 blink::WebSpeechRecognizer* speechRecognizer() override;
48 blink::WebString acceptLanguages() override; 48 blink::WebString acceptLanguages() override;
49 void didFocus() override; 49 void didFocus() override;
50 bool canHandleGestureEvent() override;
51 bool canUpdateLayout() override;
50 52
51 private: 53 private:
52 WebTestDelegate* delegate(); 54 WebTestDelegate* delegate();
53 TestRunner* test_runner(); 55 TestRunner* test_runner();
54 56
55 // Borrowed pointer to WebViewTestProxyBase. 57 // Borrowed pointer to WebViewTestProxyBase.
56 WebViewTestProxyBase* web_view_test_proxy_base_; 58 WebViewTestProxyBase* web_view_test_proxy_base_;
57 59
58 DISALLOW_COPY_AND_ASSIGN(WebViewTestClient); 60 DISALLOW_COPY_AND_ASSIGN(WebViewTestClient);
59 }; 61 };
60 62
61 } // namespace test_runner 63 } // namespace test_runner
62 64
63 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_ 65 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_VIEW_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/test_runner/web_view_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698