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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 blink::WebInputEventResult handleInputEvent( | 58 blink::WebInputEventResult handleInputEvent( |
59 const blink::WebInputEvent& event, | 59 const blink::WebInputEvent& event, |
60 blink::WebCursorInfo& cursor_info) override; | 60 blink::WebCursorInfo& cursor_info) override; |
61 void didReceiveResponse(const blink::WebURLResponse& response) override; | 61 void didReceiveResponse(const blink::WebURLResponse& response) override; |
62 void didReceiveData(const char* data, int data_length) override; | 62 void didReceiveData(const char* data, int data_length) override; |
63 void didFinishLoading() override; | 63 void didFinishLoading() override; |
64 void didFailLoading(const blink::WebURLError&) override; | 64 void didFailLoading(const blink::WebURLError&) override; |
65 void didFinishLoadingFrameRequest(const blink::WebURL& url, | |
66 void* notify_data) override; | |
67 void didFailLoadingFrameRequest(const blink::WebURL& url, | |
68 void* notify_data, | |
69 const blink::WebURLError& error) override; | |
70 bool hasSelection() const override; | 65 bool hasSelection() const override; |
71 blink::WebString selectionAsText() const override; | 66 blink::WebString selectionAsText() const override; |
72 blink::WebString selectionAsMarkup() const override; | 67 blink::WebString selectionAsMarkup() const override; |
73 blink::WebURL linkAtPosition(const blink::WebPoint& position) const override; | 68 blink::WebURL linkAtPosition(const blink::WebPoint& position) const override; |
74 bool getPrintPresetOptionsFromDocument( | 69 bool getPrintPresetOptionsFromDocument( |
75 blink::WebPrintPresetOptions* preset_options) override; | 70 blink::WebPrintPresetOptions* preset_options) override; |
76 bool startFind(const blink::WebString& search_text, | 71 bool startFind(const blink::WebString& search_text, |
77 bool case_sensitive, | 72 bool case_sensitive, |
78 int identifier) override; | 73 int identifier) override; |
79 void selectFindResult(bool forward) override; | 74 void selectFindResult(bool forward) override; |
(...skipping 25 matching lines...) Expand all Loading... |
105 PP_Var instance_object_; | 100 PP_Var instance_object_; |
106 blink::WebPluginContainer* container_; | 101 blink::WebPluginContainer* container_; |
107 base::WeakPtrFactory<PepperWebPluginImpl> weak_factory_; | 102 base::WeakPtrFactory<PepperWebPluginImpl> weak_factory_; |
108 | 103 |
109 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); | 104 DISALLOW_COPY_AND_ASSIGN(PepperWebPluginImpl); |
110 }; | 105 }; |
111 | 106 |
112 } // namespace content | 107 } // namespace content |
113 | 108 |
114 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ | 109 #endif // CONTENT_RENDERER_PEPPER_PEPPER_WEBPLUGIN_IMPL_H_ |
OLD | NEW |