| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 bool SupportsKeyboardFocus() const override; | 69 bool SupportsKeyboardFocus() const override; |
| 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 bool is_visible) override; | 75 bool is_visible) override; |
| 76 void UpdateFocus(bool focus, blink::WebFocusType focus_type) override {} | 76 void UpdateFocus(bool focus, blink::WebFocusType focus_type) override {} |
| 77 void UpdateVisibility(bool visibility) override {} | 77 void UpdateVisibility(bool visibility) override {} |
| 78 blink::WebInputEventResult HandleInputEvent( | 78 blink::WebInputEventResult HandleInputEvent( |
| 79 const blink::WebInputEvent& event, | 79 const blink::WebCoalescedInputEvent& event, |
| 80 blink::WebCursorInfo& info) override; | 80 blink::WebCursorInfo& info) override; |
| 81 bool HandleDragStatusUpdate(blink::WebDragStatus drag_status, | 81 bool HandleDragStatusUpdate(blink::WebDragStatus drag_status, |
| 82 const blink::WebDragData& data, | 82 const blink::WebDragData& data, |
| 83 blink::WebDragOperationsMask mask, | 83 blink::WebDragOperationsMask mask, |
| 84 const blink::WebPoint& position, | 84 const blink::WebPoint& position, |
| 85 const blink::WebPoint& screen_position) override; | 85 const blink::WebPoint& screen_position) override; |
| 86 void DidReceiveResponse(const blink::WebURLResponse& response) override {} | 86 void DidReceiveResponse(const blink::WebURLResponse& response) override {} |
| 87 void DidReceiveData(const char* data, int data_length) override {} | 87 void DidReceiveData(const char* data, int data_length) override {} |
| 88 void DidFinishLoading() override {} | 88 void DidFinishLoading() override {} |
| 89 void DidFailLoading(const blink::WebURLError& error) override {} | 89 void DidFailLoading(const blink::WebURLError& error) override {} |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 bool is_persistent_; | 170 bool is_persistent_; |
| 171 bool can_create_without_renderer_; | 171 bool can_create_without_renderer_; |
| 172 | 172 |
| 173 DISALLOW_COPY_AND_ASSIGN(TestPlugin); | 173 DISALLOW_COPY_AND_ASSIGN(TestPlugin); |
| 174 }; | 174 }; |
| 175 | 175 |
| 176 } // namespace test_runner | 176 } // namespace test_runner |
| 177 | 177 |
| 178 #endif // CONTENT_SHELL_TEST_RUNNER_TEST_PLUGIN_H_ | 178 #endif // CONTENT_SHELL_TEST_RUNNER_TEST_PLUGIN_H_ |
| OLD | NEW |