| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 const WebString& url) = 0; | 72 const WebString& url) = 0; |
| 73 | 73 |
| 74 // Enqueue's a task to dispatch the event. | 74 // Enqueue's a task to dispatch the event. |
| 75 // TODO(esprehn): Why are progress events sync and message events async!? | 75 // TODO(esprehn): Why are progress events sync and message events async!? |
| 76 virtual void enqueueMessageEvent(const WebDOMMessageEvent&) = 0; | 76 virtual void enqueueMessageEvent(const WebDOMMessageEvent&) = 0; |
| 77 | 77 |
| 78 virtual void invalidate() = 0; | 78 virtual void invalidate() = 0; |
| 79 virtual void invalidateRect(const WebRect&) = 0; | 79 virtual void invalidateRect(const WebRect&) = 0; |
| 80 virtual void scrollRect(const WebRect&) = 0; | 80 virtual void scrollRect(const WebRect&) = 0; |
| 81 | 81 |
| 82 // Schedules an animation of the WebView that contains the plugin, as well as
the plugin. | 82 // Schedules an animation of the WebView that contains the plugin, as well as |
| 83 // the plugin. |
| 83 virtual void scheduleAnimation() = 0; | 84 virtual void scheduleAnimation() = 0; |
| 84 | 85 |
| 85 // Causes the container to report its current geometry via | 86 // Causes the container to report its current geometry via |
| 86 // WebPlugin::updateGeometry. | 87 // WebPlugin::updateGeometry. |
| 87 virtual void reportGeometry() = 0; | 88 virtual void reportGeometry() = 0; |
| 88 | 89 |
| 89 // Returns the scriptable object associated with the DOM element | 90 // Returns the scriptable object associated with the DOM element |
| 90 // containing the plugin as a native v8 object. | 91 // containing the plugin as a native v8 object. |
| 91 virtual v8::Local<v8::Object> v8ObjectForElement() = 0; | 92 virtual v8::Local<v8::Object> v8ObjectForElement() = 0; |
| 92 | 93 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 virtual bool isFullscreenElement() const = 0; | 145 virtual bool isFullscreenElement() const = 0; |
| 145 virtual void cancelFullscreen() = 0; | 146 virtual void cancelFullscreen() = 0; |
| 146 | 147 |
| 147 protected: | 148 protected: |
| 148 ~WebPluginContainer() {} | 149 ~WebPluginContainer() {} |
| 149 }; | 150 }; |
| 150 | 151 |
| 151 } // namespace blink | 152 } // namespace blink |
| 152 | 153 |
| 153 #endif | 154 #endif |
| OLD | NEW |