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 28 matching lines...) Expand all Loading... |
39 | 39 |
40 class ResourceError; | 40 class ResourceError; |
41 class ResourceResponse; | 41 class ResourceResponse; |
42 | 42 |
43 class CORE_EXPORT PluginView : public Widget { | 43 class CORE_EXPORT PluginView : public Widget { |
44 public: | 44 public: |
45 bool isPluginView() const final { return true; } | 45 bool isPluginView() const final { return true; } |
46 | 46 |
47 virtual WebLayer* platformLayer() const { return 0; } | 47 virtual WebLayer* platformLayer() const { return 0; } |
48 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo
cal<v8::Object>(); } | 48 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo
cal<v8::Object>(); } |
49 virtual bool getFormValue(String&) { return false; } | |
50 virtual bool wantsWheelEvents() { return false; } | 49 virtual bool wantsWheelEvents() { return false; } |
51 virtual bool supportsKeyboardFocus() const { return false; } | 50 virtual bool supportsKeyboardFocus() const { return false; } |
52 virtual bool supportsInputMethod() const { return false; } | 51 virtual bool supportsInputMethod() const { return false; } |
53 virtual bool canProcessDrag() const { return false; } | 52 virtual bool canProcessDrag() const { return false; } |
54 | 53 |
55 virtual void didReceiveResponse(const ResourceResponse&) { } | 54 virtual void didReceiveResponse(const ResourceResponse&) { } |
56 virtual void didReceiveData(const char*, int) { } | 55 virtual void didReceiveData(const char*, int) { } |
57 | 56 |
58 virtual void updateAllLifecyclePhases() { } | 57 virtual void updateAllLifecyclePhases() { } |
59 virtual void invalidatePaintIfNeeded() { } | 58 virtual void invalidatePaintIfNeeded() { } |
60 | 59 |
61 protected: | 60 protected: |
62 PluginView() : Widget() { } | 61 PluginView() : Widget() { } |
63 }; | 62 }; |
64 | 63 |
65 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP
luginView()); | 64 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP
luginView()); |
66 | 65 |
67 } // namespace blink | 66 } // namespace blink |
68 | 67 |
69 #endif // PluginView_h | 68 #endif // PluginView_h |
OLD | NEW |