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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 v8::Local<v8::Object> V8ScriptableObject(v8::Isolate* isolate) override; | 44 v8::Local<v8::Object> V8ScriptableObject(v8::Isolate* isolate) override; |
45 void UpdateAllLifecyclePhases() override {} | 45 void UpdateAllLifecyclePhases() override {} |
46 void Paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override; | 46 void Paint(blink::WebCanvas* canvas, const blink::WebRect& rect) override; |
47 void UpdateGeometry(const blink::WebRect& window_rect, | 47 void UpdateGeometry(const blink::WebRect& window_rect, |
48 const blink::WebRect& clip_rect, | 48 const blink::WebRect& clip_rect, |
49 const blink::WebRect& unobscured_rect, | 49 const blink::WebRect& unobscured_rect, |
50 bool is_visible) override; | 50 bool is_visible) override; |
51 void UpdateFocus(bool focused, blink::WebFocusType focus_type) override; | 51 void UpdateFocus(bool focused, blink::WebFocusType focus_type) override; |
52 void UpdateVisibility(bool visible) override; | 52 void UpdateVisibility(bool visible) override; |
53 blink::WebInputEventResult HandleInputEvent( | 53 blink::WebInputEventResult HandleInputEvent( |
54 const blink::WebInputEvent& event, | 54 const blink::WebCoalescedInputEvent& event, |
55 blink::WebCursorInfo& cursor_info) override; | 55 blink::WebCursorInfo& cursor_info) override; |
56 void DidReceiveResponse(const blink::WebURLResponse& response) override; | 56 void DidReceiveResponse(const blink::WebURLResponse& response) override; |
57 void DidReceiveData(const char* data, int data_length) override; | 57 void DidReceiveData(const char* data, int data_length) override; |
58 void DidFinishLoading() override; | 58 void DidFinishLoading() override; |
59 void DidFailLoading(const blink::WebURLError&) override; | 59 void DidFailLoading(const blink::WebURLError&) override; |
60 bool HasSelection() const override; | 60 bool HasSelection() const override; |
61 blink::WebString SelectionAsText() const override; | 61 blink::WebString SelectionAsText() const override; |
62 blink::WebString SelectionAsMarkup() const override; | 62 blink::WebString SelectionAsMarkup() const override; |
63 blink::WebURL LinkAtPosition(const blink::WebPoint& position) const override; | 63 blink::WebURL LinkAtPosition(const blink::WebPoint& position) const override; |
64 bool GetPrintPresetOptionsFromDocument( | 64 bool GetPrintPresetOptionsFromDocument( |
(...skipping 30 matching lines...) Expand all Loading... |
95 gfx::Rect plugin_rect_; | 95 gfx::Rect plugin_rect_; |
96 PP_Var instance_object_; | 96 PP_Var instance_object_; |
97 blink::WebPluginContainer* container_; | 97 blink::WebPluginContainer* container_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 99 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace content | 102 } // namespace content |
103 | 103 |
104 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 104 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
OLD | NEW |