| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 4 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 22 matching lines...) Expand all Loading... |
| 33 #include "platform/scroll/ScrollTypes.h" | 33 #include "platform/scroll/ScrollTypes.h" |
| 34 #include "wtf/text/WTFString.h" | 34 #include "wtf/text/WTFString.h" |
| 35 #include <v8.h> | 35 #include <v8.h> |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 class WebLayer; | 38 class WebLayer; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class ResourceError; | |
| 44 class ResourceResponse; | 43 class ResourceResponse; |
| 45 | 44 |
| 46 class CORE_EXPORT PluginView : public Widget { | 45 class CORE_EXPORT PluginView : public Widget { |
| 47 public: | 46 public: |
| 48 bool isPluginView() const final { return true; } | 47 bool isPluginView() const final { return true; } |
| 49 | 48 |
| 50 virtual WebLayer* platformLayer() const { return 0; } | 49 virtual WebLayer* platformLayer() const { return 0; } |
| 51 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { | 50 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { |
| 52 return v8::Local<v8::Object>(); | 51 return v8::Local<v8::Object>(); |
| 53 } | 52 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 68 | 67 |
| 69 DEFINE_TYPE_CASTS(PluginView, | 68 DEFINE_TYPE_CASTS(PluginView, |
| 70 Widget, | 69 Widget, |
| 71 widget, | 70 widget, |
| 72 widget->isPluginView(), | 71 widget->isPluginView(), |
| 73 widget.isPluginView()); | 72 widget.isPluginView()); |
| 74 | 73 |
| 75 } // namespace blink | 74 } // namespace blink |
| 76 | 75 |
| 77 #endif // PluginView_h | 76 #endif // PluginView_h |
| OLD | NEW |