| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 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 27 matching lines...) Expand all Loading... |
| 38 #include "WebDragOperation.h" | 38 #include "WebDragOperation.h" |
| 39 #include "WebDragStatus.h" | 39 #include "WebDragStatus.h" |
| 40 #include "WebWidget.h" | 40 #include "WebWidget.h" |
| 41 #include <v8.h> | 41 #include <v8.h> |
| 42 | 42 |
| 43 struct NPObject; | 43 struct NPObject; |
| 44 struct _NPP; | 44 struct _NPP; |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 class WebDataSource; | |
| 49 class WebDragData; | 48 class WebDragData; |
| 50 class WebInputEvent; | 49 class WebInputEvent; |
| 51 class WebPluginContainer; | 50 class WebPluginContainer; |
| 52 class WebURLResponse; | 51 class WebURLResponse; |
| 53 struct WebCompositionUnderline; | 52 struct WebCompositionUnderline; |
| 54 struct WebCursorInfo; | 53 struct WebCursorInfo; |
| 55 struct WebPluginParams; | |
| 56 struct WebPrintParams; | 54 struct WebPrintParams; |
| 57 struct WebPrintPresetOptions; | 55 struct WebPrintPresetOptions; |
| 58 struct WebPoint; | 56 struct WebPoint; |
| 59 struct WebRect; | 57 struct WebRect; |
| 60 struct WebTextInputInfo; | |
| 61 struct WebURLError; | 58 struct WebURLError; |
| 62 template <typename T> class WebVector; | 59 template <typename T> class WebVector; |
| 63 | 60 |
| 64 class WebPlugin { | 61 class WebPlugin { |
| 65 public: | 62 public: |
| 66 virtual bool initialize(WebPluginContainer*) = 0; | 63 virtual bool initialize(WebPluginContainer*) = 0; |
| 67 virtual void destroy() = 0; | 64 virtual void destroy() = 0; |
| 68 | 65 |
| 69 virtual WebPluginContainer* container() const { return 0; } | 66 virtual WebPluginContainer* container() const { return 0; } |
| 70 virtual void containerDidDetachFromParent() { } | 67 virtual void containerDidDetachFromParent() { } |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 virtual bool isPlaceholder() { return true; } | 178 virtual bool isPlaceholder() { return true; } |
| 182 virtual bool shouldPersist() const { return false; } | 179 virtual bool shouldPersist() const { return false; } |
| 183 | 180 |
| 184 protected: | 181 protected: |
| 185 ~WebPlugin() { } | 182 ~WebPlugin() { } |
| 186 }; | 183 }; |
| 187 | 184 |
| 188 } // namespace blink | 185 } // namespace blink |
| 189 | 186 |
| 190 #endif | 187 #endif |
| OLD | NEW |