OLD | NEW |
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_FRAME_TEST_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 void RunModalAlertDialog(const blink::WebString& message) override; | 40 void RunModalAlertDialog(const blink::WebString& message) override; |
41 bool RunModalConfirmDialog(const blink::WebString& message) override; | 41 bool RunModalConfirmDialog(const blink::WebString& message) override; |
42 bool RunModalPromptDialog(const blink::WebString& message, | 42 bool RunModalPromptDialog(const blink::WebString& message, |
43 const blink::WebString& default_value, | 43 const blink::WebString& default_value, |
44 blink::WebString* actual_value) override; | 44 blink::WebString* actual_value) override; |
45 bool RunModalBeforeUnloadDialog(bool is_reload) override; | 45 bool RunModalBeforeUnloadDialog(bool is_reload) override; |
46 blink::WebScreenOrientationClient* GetWebScreenOrientationClient() override; | 46 blink::WebScreenOrientationClient* GetWebScreenOrientationClient() override; |
47 void PostAccessibilityEvent(const blink::WebAXObject& object, | 47 void PostAccessibilityEvent(const blink::WebAXObject& object, |
48 blink::WebAXEvent event) override; | 48 blink::WebAXEvent event) override; |
49 void DidChangeSelection(bool is_selection_empty) override; | 49 void DidChangeSelection(bool is_selection_empty) override; |
50 blink::WebPlugin* CreatePlugin(blink::WebLocalFrame* frame, | 50 blink::WebPlugin* CreatePlugin(const blink::WebPluginParams& params) override; |
51 const blink::WebPluginParams& params) override; | |
52 void ShowContextMenu( | 51 void ShowContextMenu( |
53 const blink::WebContextMenuData& context_menu_data) override; | 52 const blink::WebContextMenuData& context_menu_data) override; |
54 blink::WebUserMediaClient* UserMediaClient() override; | 53 blink::WebUserMediaClient* UserMediaClient() override; |
55 void DidAddMessageToConsole(const blink::WebConsoleMessage& message, | 54 void DidAddMessageToConsole(const blink::WebConsoleMessage& message, |
56 const blink::WebString& source_name, | 55 const blink::WebString& source_name, |
57 unsigned source_line, | 56 unsigned source_line, |
58 const blink::WebString& stack_trace) override; | 57 const blink::WebString& stack_trace) override; |
59 void LoadURLExternally(const blink::WebURLRequest& request, | 58 void LoadURLExternally(const blink::WebURLRequest& request, |
60 blink::WebNavigationPolicy policy, | 59 blink::WebNavigationPolicy policy, |
61 const blink::WebString& suggested_name, | 60 const blink::WebString& suggested_name, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 WebTestDelegate* delegate_; | 104 WebTestDelegate* delegate_; |
106 WebViewTestProxyBase* web_view_test_proxy_base_; | 105 WebViewTestProxyBase* web_view_test_proxy_base_; |
107 WebFrameTestProxyBase* web_frame_test_proxy_base_; | 106 WebFrameTestProxyBase* web_frame_test_proxy_base_; |
108 | 107 |
109 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); | 108 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); |
110 }; | 109 }; |
111 | 110 |
112 } // namespace test_runner | 111 } // namespace test_runner |
113 | 112 |
114 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 113 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
OLD | NEW |