OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
7 | 7 |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 const WebKit::WebRect& frame_rect, | 99 const WebKit::WebRect& frame_rect, |
100 const WebKit::WebRect& clip_rect, | 100 const WebKit::WebRect& clip_rect, |
101 const WebKit::WebVector<WebKit::WebRect>& cut_outs_rects, | 101 const WebKit::WebVector<WebKit::WebRect>& cut_outs_rects, |
102 bool is_visible) OVERRIDE; | 102 bool is_visible) OVERRIDE; |
103 virtual void updateFocus(bool focused) OVERRIDE; | 103 virtual void updateFocus(bool focused) OVERRIDE; |
104 virtual void updateVisibility(bool visible) OVERRIDE; | 104 virtual void updateVisibility(bool visible) OVERRIDE; |
105 virtual bool acceptsInputEvents() OVERRIDE; | 105 virtual bool acceptsInputEvents() OVERRIDE; |
106 virtual bool handleInputEvent( | 106 virtual bool handleInputEvent( |
107 const WebKit::WebInputEvent& event, | 107 const WebKit::WebInputEvent& event, |
108 WebKit::WebCursorInfo& cursor_info) OVERRIDE; | 108 WebKit::WebCursorInfo& cursor_info) OVERRIDE; |
| 109 virtual bool handleDragStatusUpdate( |
| 110 WebKit::WebDragStatus dragStatus, |
| 111 const WebKit::WebDragData& drag_data, |
| 112 WebKit::WebDragOperationsMask drag_mask, |
| 113 const WebKit::WebPoint& position, |
| 114 const WebKit::WebPoint& screenPosition) OVERRIDE; |
109 virtual void didReceiveResponse( | 115 virtual void didReceiveResponse( |
110 const WebKit::WebURLResponse& response) OVERRIDE; | 116 const WebKit::WebURLResponse& response) OVERRIDE; |
111 virtual void didReceiveData(const char* data, int data_length) OVERRIDE; | 117 virtual void didReceiveData(const char* data, int data_length) OVERRIDE; |
112 virtual void didFinishLoading() OVERRIDE; | 118 virtual void didFinishLoading() OVERRIDE; |
113 virtual void didFailLoading(const WebKit::WebURLError& error) OVERRIDE; | 119 virtual void didFailLoading(const WebKit::WebURLError& error) OVERRIDE; |
114 virtual void didFinishLoadingFrameRequest( | 120 virtual void didFinishLoadingFrameRequest( |
115 const WebKit::WebURL& url, | 121 const WebKit::WebURL& url, |
116 void* notify_data) OVERRIDE; | 122 void* notify_data) OVERRIDE; |
117 virtual void didFailLoadingFrameRequest( | 123 virtual void didFailLoadingFrameRequest( |
118 const WebKit::WebURL& url, | 124 const WebKit::WebURL& url, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 EventListenerMap event_listener_map_; | 192 EventListenerMap event_listener_map_; |
187 #if defined(OS_WIN) | 193 #if defined(OS_WIN) |
188 base::SharedMemory shared_memory_; | 194 base::SharedMemory shared_memory_; |
189 #endif | 195 #endif |
190 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); | 196 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
191 }; | 197 }; |
192 | 198 |
193 } // namespace content | 199 } // namespace content |
194 | 200 |
195 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 201 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
OLD | NEW |