| 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_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 void layoutIfNeeded() override {} | 48 void layoutIfNeeded() override {} |
| 49 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override; | 49 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override; |
| 50 void updateGeometry(const blink::WebRect& window_rect, | 50 void updateGeometry(const blink::WebRect& window_rect, |
| 51 const blink::WebRect& clip_rect, | 51 const blink::WebRect& clip_rect, |
| 52 const blink::WebRect& unobscured_rect, | 52 const blink::WebRect& unobscured_rect, |
| 53 const blink::WebVector<blink::WebRect>& cut_outs_rects, | 53 const blink::WebVector<blink::WebRect>& cut_outs_rects, |
| 54 bool is_visible) override; | 54 bool is_visible) override; |
| 55 void updateFocus(bool focused, blink::WebFocusType focus_type) override; | 55 void updateFocus(bool focused, blink::WebFocusType focus_type) override; |
| 56 void updateVisibility(bool visible) override; | 56 void updateVisibility(bool visible) override; |
| 57 bool acceptsInputEvents() override; | 57 bool acceptsInputEvents() override; |
| 58 bool handleInputEvent(const blink::WebInputEvent& event, | 58 blink::WebInputEventResult handleInputEvent( |
| 59 blink::WebCursorInfo& cursor_info) override; | 59 const blink::WebInputEvent& event, |
| 60 blink::WebCursorInfo& cursor_info) override; |
| 60 void didReceiveResponse(const blink::WebURLResponse& response) override; | 61 void didReceiveResponse(const blink::WebURLResponse& response) override; |
| 61 void didReceiveData(const char* data, int data_length) override; | 62 void didReceiveData(const char* data, int data_length) override; |
| 62 void didFinishLoading() override; | 63 void didFinishLoading() override; |
| 63 void didFailLoading(const blink::WebURLError&) override; | 64 void didFailLoading(const blink::WebURLError&) override; |
| 64 void didFinishLoadingFrameRequest(const blink::WebURL& url, | 65 void didFinishLoadingFrameRequest(const blink::WebURL& url, |
| 65 void* notify_data) override; | 66 void* notify_data) override; |
| 66 void didFailLoadingFrameRequest(const blink::WebURL& url, | 67 void didFailLoadingFrameRequest(const blink::WebURL& url, |
| 67 void* notify_data, | 68 void* notify_data, |
| 68 const blink::WebURLError& error) override; | 69 const blink::WebURLError& error) override; |
| 69 bool hasSelection() const override; | 70 bool hasSelection() const override; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 PP_Var instance_object_; | 105 PP_Var instance_object_; |
| 105 blink::WebPluginContainer* container_; | 106 blink::WebPluginContainer* container_; |
| 106 base::WeakPtrFactory<PepperWebPluginImpl> weak_factory_; | 107 base::WeakPtrFactory<PepperWebPluginImpl> weak_factory_; |
| 107 | 108 |
| 108 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 109 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
| 109 }; | 110 }; |
| 110 | 111 |
| 111 } // namespace content | 112 } // namespace content |
| 112 | 113 |
| 113 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 114 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |