| 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 27 matching lines...) Expand all Loading... |
| 38 RenderFrameImpl* render_frame, | 38 RenderFrameImpl* render_frame, |
| 39 scoped_ptr<PluginInstanceThrottlerImpl> throttler); | 39 scoped_ptr<PluginInstanceThrottlerImpl> throttler); |
| 40 | 40 |
| 41 PepperPluginInstanceImpl* instance() { return instance_.get(); } | 41 PepperPluginInstanceImpl* instance() { return instance_.get(); } |
| 42 | 42 |
| 43 // blink::WebPlugin implementation. | 43 // blink::WebPlugin implementation. |
| 44 blink::WebPluginContainer* container() const override; | 44 blink::WebPluginContainer* container() const override; |
| 45 bool initialize(blink::WebPluginContainer* container) override; | 45 bool initialize(blink::WebPluginContainer* container) override; |
| 46 void destroy() override; | 46 void destroy() override; |
| 47 v8::Local<v8::Object> v8ScriptableObject(v8::Isolate* isolate) override; | 47 v8::Local<v8::Object> v8ScriptableObject(v8::Isolate* isolate) override; |
| 48 bool getFormValue(blink::WebString& value) override; | |
| 49 void updateAllLifecyclePhases() override {} | 48 void updateAllLifecyclePhases() override {} |
| 50 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override; | 49 void paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override; |
| 51 void updateGeometry(const blink::WebRect& window_rect, | 50 void updateGeometry(const blink::WebRect& window_rect, |
| 52 const blink::WebRect& clip_rect, | 51 const blink::WebRect& clip_rect, |
| 53 const blink::WebRect& unobscured_rect, | 52 const blink::WebRect& unobscured_rect, |
| 54 const blink::WebVector<blink::WebRect>& cut_outs_rects, | 53 const blink::WebVector<blink::WebRect>& cut_outs_rects, |
| 55 bool is_visible) override; | 54 bool is_visible) override; |
| 56 void updateFocus(bool focused, blink::WebFocusType focus_type) override; | 55 void updateFocus(bool focused, blink::WebFocusType focus_type) override; |
| 57 void updateVisibility(bool visible) override; | 56 void updateVisibility(bool visible) override; |
| 58 bool acceptsInputEvents() override; | 57 bool acceptsInputEvents() override; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 bool destroyed_; | 104 bool destroyed_; |
| 106 | 105 |
| 107 base::WeakPtrFactory<PepperWebPluginImpl> weak_factory_; | 106 base::WeakPtrFactory<PepperWebPluginImpl> weak_factory_; |
| 108 | 107 |
| 109 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 108 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
| 110 }; | 109 }; |
| 111 | 110 |
| 112 } // namespace content | 111 } // namespace content |
| 113 | 112 |
| 114 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 113 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |