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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual bool wantsWheelEvents() { return false; } | 52 virtual bool wantsWheelEvents() { return false; } |
53 virtual bool supportsKeyboardFocus() const { return false; } | 53 virtual bool supportsKeyboardFocus() const { return false; } |
54 virtual bool supportsInputMethod() const { return false; } | 54 virtual bool supportsInputMethod() const { return false; } |
55 virtual bool canProcessDrag() const { return false; } | 55 virtual bool canProcessDrag() const { return false; } |
56 | 56 |
57 virtual void didReceiveResponse(const ResourceResponse&) { } | 57 virtual void didReceiveResponse(const ResourceResponse&) { } |
58 virtual void didReceiveData(const char*, int) { } | 58 virtual void didReceiveData(const char*, int) { } |
59 virtual void didFinishLoading() { } | 59 virtual void didFinishLoading() { } |
60 virtual void didFailLoading(const ResourceError&) { } | 60 virtual void didFailLoading(const ResourceError&) { } |
61 | 61 |
| 62 virtual void dispose() { } |
| 63 |
62 protected: | 64 protected: |
63 PluginView() : Widget() { } | 65 PluginView() : Widget() { } |
64 }; | 66 }; |
65 | 67 |
66 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP
luginView()); | 68 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP
luginView()); |
67 | 69 |
68 } // namespace blink | 70 } // namespace blink |
69 | 71 |
70 #endif // PluginView_h | 72 #endif // PluginView_h |
OLD | NEW |