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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 namespace blink { class WebLayer; } | 35 namespace blink { class WebLayer; } |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class ResourceError; | 39 class ResourceError; |
40 class ResourceResponse; | 40 class ResourceResponse; |
41 | 41 |
42 class PluginView : public Widget { | 42 class PluginView : public Widget { |
43 public: | 43 public: |
44 virtual bool isPluginView() const override final { return true; } | 44 bool isPluginView() const final { return true; } |
45 | 45 |
46 virtual WebLayer* platformLayer() const { return 0; } | 46 virtual WebLayer* platformLayer() const { return 0; } |
47 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo
cal<v8::Object>(); } | 47 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo
cal<v8::Object>(); } |
48 virtual bool getFormValue(String&) { return false; } | 48 virtual bool getFormValue(String&) { return false; } |
49 virtual bool wantsWheelEvents() { return false; } | 49 virtual bool wantsWheelEvents() { return false; } |
50 virtual bool supportsKeyboardFocus() const { return false; } | 50 virtual bool supportsKeyboardFocus() const { return false; } |
51 virtual bool supportsInputMethod() const { return false; } | 51 virtual bool supportsInputMethod() const { return false; } |
52 virtual bool canProcessDrag() const { return false; } | 52 virtual bool canProcessDrag() const { return false; } |
53 | 53 |
54 virtual void didReceiveResponse(const ResourceResponse&) { } | 54 virtual void didReceiveResponse(const ResourceResponse&) { } |
(...skipping 11 matching lines...) Expand all Loading... |
66 | 66 |
67 protected: | 67 protected: |
68 PluginView() : Widget() { } | 68 PluginView() : Widget() { } |
69 }; | 69 }; |
70 | 70 |
71 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP
luginView()); | 71 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP
luginView()); |
72 | 72 |
73 } // namespace blink | 73 } // namespace blink |
74 | 74 |
75 #endif // PluginView_h | 75 #endif // PluginView_h |
OLD | NEW |