OLD | NEW |
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_TEST_RUNNER_TEST_PLUGIN_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_TEST_PLUGIN_H_ |
6 #define CONTENT_SHELL_TEST_RUNNER_TEST_PLUGIN_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_TEST_PLUGIN_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 void UpdateAllLifecyclePhases() override {} | 70 void UpdateAllLifecyclePhases() override {} |
71 void Paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override {} | 71 void Paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override {} |
72 void UpdateGeometry(const blink::WebRect& window_rect, | 72 void UpdateGeometry(const blink::WebRect& window_rect, |
73 const blink::WebRect& clip_rect, | 73 const blink::WebRect& clip_rect, |
74 const blink::WebRect& unobscured_rect, | 74 const blink::WebRect& unobscured_rect, |
75 const blink::WebVector<blink::WebRect>& cut_outs_rects, | 75 const blink::WebVector<blink::WebRect>& cut_outs_rects, |
76 bool is_visible) override; | 76 bool is_visible) override; |
77 void UpdateFocus(bool focus, blink::WebFocusType focus_type) override {} | 77 void UpdateFocus(bool focus, blink::WebFocusType focus_type) override {} |
78 void UpdateVisibility(bool visibility) override {} | 78 void UpdateVisibility(bool visibility) override {} |
79 blink::WebInputEventResult HandleInputEvent( | 79 blink::WebInputEventResult HandleInputEvent( |
80 const blink::WebInputEvent& event, | 80 const blink::WebCoalescedInputEvent& event, |
81 blink::WebCursorInfo& info) override; | 81 blink::WebCursorInfo& info) override; |
82 bool HandleDragStatusUpdate(blink::WebDragStatus drag_status, | 82 bool HandleDragStatusUpdate(blink::WebDragStatus drag_status, |
83 const blink::WebDragData& data, | 83 const blink::WebDragData& data, |
84 blink::WebDragOperationsMask mask, | 84 blink::WebDragOperationsMask mask, |
85 const blink::WebPoint& position, | 85 const blink::WebPoint& position, |
86 const blink::WebPoint& screen_position) override; | 86 const blink::WebPoint& screen_position) override; |
87 void DidReceiveResponse(const blink::WebURLResponse& response) override {} | 87 void DidReceiveResponse(const blink::WebURLResponse& response) override {} |
88 void DidReceiveData(const char* data, int data_length) override {} | 88 void DidReceiveData(const char* data, int data_length) override {} |
89 void DidFinishLoading() override {} | 89 void DidFinishLoading() override {} |
90 void DidFailLoading(const blink::WebURLError& error) override {} | 90 void DidFailLoading(const blink::WebURLError& error) override {} |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 bool is_persistent_; | 171 bool is_persistent_; |
172 bool can_create_without_renderer_; | 172 bool can_create_without_renderer_; |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(TestPlugin); | 174 DISALLOW_COPY_AND_ASSIGN(TestPlugin); |
175 }; | 175 }; |
176 | 176 |
177 } // namespace test_runner | 177 } // namespace test_runner |
178 | 178 |
179 #endif // CONTENT_SHELL_TEST_RUNNER_TEST_PLUGIN_H_ | 179 #endif // CONTENT_SHELL_TEST_RUNNER_TEST_PLUGIN_H_ |
OLD | NEW |