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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 const blink::WebVector<blink::WebRect>& cut_outs_rects, | 50 const blink::WebVector<blink::WebRect>& cut_outs_rects, |
51 bool is_visible) override; | 51 bool is_visible) override; |
52 void UpdateFocus(bool focused, blink::WebFocusType focus_type) override; | 52 void UpdateFocus(bool focused, blink::WebFocusType focus_type) override; |
53 void UpdateVisibility(bool visible) override; | 53 void UpdateVisibility(bool visible) override; |
54 blink::WebInputEventResult HandleInputEvent( | 54 blink::WebInputEventResult HandleInputEvent( |
55 const blink::WebInputEvent& event, | 55 const blink::WebCoalescedInputEvent& event, |
56 blink::WebCursorInfo& cursor_info) override; | 56 blink::WebCursorInfo& cursor_info) override; |
57 void DidReceiveResponse(const blink::WebURLResponse& response) override; | 57 void DidReceiveResponse(const blink::WebURLResponse& response) override; |
58 void DidReceiveData(const char* data, int data_length) override; | 58 void DidReceiveData(const char* data, int data_length) override; |
59 void DidFinishLoading() override; | 59 void DidFinishLoading() override; |
60 void DidFailLoading(const blink::WebURLError&) override; | 60 void DidFailLoading(const blink::WebURLError&) override; |
61 bool HasSelection() const override; | 61 bool HasSelection() const override; |
62 blink::WebString SelectionAsText() const override; | 62 blink::WebString SelectionAsText() const override; |
63 blink::WebString SelectionAsMarkup() const override; | 63 blink::WebString SelectionAsMarkup() const override; |
64 blink::WebURL LinkAtPosition(const blink::WebPoint& position) const override; | 64 blink::WebURL LinkAtPosition(const blink::WebPoint& position) const override; |
65 bool GetPrintPresetOptionsFromDocument( | 65 bool GetPrintPresetOptionsFromDocument( |
(...skipping 30 matching lines...) Expand all Loading... |
96 gfx::Rect plugin_rect_; | 96 gfx::Rect plugin_rect_; |
97 PP_Var instance_object_; | 97 PP_Var instance_object_; |
98 blink::WebPluginContainer* container_; | 98 blink::WebPluginContainer* container_; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 100 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
101 }; | 101 }; |
102 | 102 |
103 } // namespace content | 103 } // namespace content |
104 | 104 |
105 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 105 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
OLD | NEW |