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