| 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 COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 void layoutIfNeeded() override {} | 66 void layoutIfNeeded() override {} |
| 67 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override {} | 67 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override {} |
| 68 void updateGeometry(const blink::WebRect& window_rect, | 68 void updateGeometry(const blink::WebRect& window_rect, |
| 69 const blink::WebRect& clip_rect, | 69 const blink::WebRect& clip_rect, |
| 70 const blink::WebRect& unobscured_rect, | 70 const blink::WebRect& unobscured_rect, |
| 71 const blink::WebVector<blink::WebRect>& cut_outs_rects, | 71 const blink::WebVector<blink::WebRect>& cut_outs_rects, |
| 72 bool is_visible) override; | 72 bool is_visible) override; |
| 73 void updateFocus(bool focus, blink::WebFocusType focus_type) override {} | 73 void updateFocus(bool focus, blink::WebFocusType focus_type) override {} |
| 74 void updateVisibility(bool visibility) override {} | 74 void updateVisibility(bool visibility) override {} |
| 75 bool acceptsInputEvents() override; | 75 bool acceptsInputEvents() override; |
| 76 bool handleInputEvent(const blink::WebInputEvent& event, | 76 blink::WebInputEventResult handleInputEvent( |
| 77 blink::WebCursorInfo& info) override; | 77 const blink::WebInputEvent& event, |
| 78 blink::WebCursorInfo& info) override; |
| 78 bool handleDragStatusUpdate(blink::WebDragStatus drag_status, | 79 bool handleDragStatusUpdate(blink::WebDragStatus drag_status, |
| 79 const blink::WebDragData& data, | 80 const blink::WebDragData& data, |
| 80 blink::WebDragOperationsMask mask, | 81 blink::WebDragOperationsMask mask, |
| 81 const blink::WebPoint& position, | 82 const blink::WebPoint& position, |
| 82 const blink::WebPoint& screen_position) override; | 83 const blink::WebPoint& screen_position) override; |
| 83 void didReceiveResponse(const blink::WebURLResponse& response) override {} | 84 void didReceiveResponse(const blink::WebURLResponse& response) override {} |
| 84 void didReceiveData(const char* data, int data_length) override {} | 85 void didReceiveData(const char* data, int data_length) override {} |
| 85 void didFinishLoading() override {} | 86 void didFinishLoading() override {} |
| 86 void didFailLoading(const blink::WebURLError& error) override {} | 87 void didFailLoading(const blink::WebURLError& error) override {} |
| 87 void didFinishLoadingFrameRequest(const blink::WebURL& url, | 88 void didFinishLoadingFrameRequest(const blink::WebURL& url, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 175 |
| 175 bool is_persistent_; | 176 bool is_persistent_; |
| 176 bool can_create_without_renderer_; | 177 bool can_create_without_renderer_; |
| 177 | 178 |
| 178 DISALLOW_COPY_AND_ASSIGN(TestPlugin); | 179 DISALLOW_COPY_AND_ASSIGN(TestPlugin); |
| 179 }; | 180 }; |
| 180 | 181 |
| 181 } // namespace test_runner | 182 } // namespace test_runner |
| 182 | 183 |
| 183 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ | 184 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ |
| OLD | NEW |