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