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_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ | 6 #define CONTENT_SHELL_RENDERER_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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual bool initialize(blink::WebPluginContainer* container); | 62 virtual bool initialize(blink::WebPluginContainer* container); |
63 virtual void destroy(); | 63 virtual void destroy(); |
64 virtual NPObject* scriptableObject(); | 64 virtual NPObject* scriptableObject(); |
65 virtual bool canProcessDrag() const; | 65 virtual bool canProcessDrag() const; |
66 virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) {} | 66 virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) {} |
67 virtual void updateGeometry( | 67 virtual void updateGeometry( |
68 const blink::WebRect& frame_rect, | 68 const blink::WebRect& frame_rect, |
69 const blink::WebRect& clip_rect, | 69 const blink::WebRect& clip_rect, |
70 const blink::WebVector<blink::WebRect>& cut_outs_rects, | 70 const blink::WebVector<blink::WebRect>& cut_outs_rects, |
71 bool is_visible); | 71 bool is_visible); |
72 virtual void updateFocus(bool focus) {} | 72 virtual void updateFocus(bool focus, blink::WebFocusType focus_type) {} |
73 virtual void updateVisibility(bool visibility) {} | 73 virtual void updateVisibility(bool visibility) {} |
74 virtual bool acceptsInputEvents(); | 74 virtual bool acceptsInputEvents(); |
75 virtual bool handleInputEvent(const blink::WebInputEvent& event, | 75 virtual bool handleInputEvent(const blink::WebInputEvent& event, |
76 blink::WebCursorInfo& info); | 76 blink::WebCursorInfo& info); |
77 virtual bool handleDragStatusUpdate(blink::WebDragStatus drag_status, | 77 virtual bool handleDragStatusUpdate(blink::WebDragStatus drag_status, |
78 const blink::WebDragData& data, | 78 const blink::WebDragData& data, |
79 blink::WebDragOperationsMask mask, | 79 blink::WebDragOperationsMask mask, |
80 const blink::WebPoint& position, | 80 const blink::WebPoint& position, |
81 const blink::WebPoint& screen_position); | 81 const blink::WebPoint& screen_position); |
82 virtual void didReceiveResponse(const blink::WebURLResponse& response) {} | 82 virtual void didReceiveResponse(const blink::WebURLResponse& response) {} |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 bool is_persistent_; | 173 bool is_persistent_; |
174 bool can_create_without_renderer_; | 174 bool can_create_without_renderer_; |
175 | 175 |
176 DISALLOW_COPY_AND_ASSIGN(TestPlugin); | 176 DISALLOW_COPY_AND_ASSIGN(TestPlugin); |
177 }; | 177 }; |
178 | 178 |
179 } // namespace content | 179 } // namespace content |
180 | 180 |
181 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ | 181 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ |
OLD | NEW |