OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void eventListenersRemoved() override; | 97 void eventListenersRemoved() override; |
98 | 98 |
99 // WebPluginContainer methods | 99 // WebPluginContainer methods |
100 WebElement element() override; | 100 WebElement element() override; |
101 void dispatchProgressEvent(const WebString& type, bool lengthComputable, uns
igned long long loaded, unsigned long long total, const WebString& url) override
; | 101 void dispatchProgressEvent(const WebString& type, bool lengthComputable, uns
igned long long loaded, unsigned long long total, const WebString& url) override
; |
102 void invalidate() override; | 102 void invalidate() override; |
103 void invalidateRect(const WebRect&) override; | 103 void invalidateRect(const WebRect&) override; |
104 void scrollRect(const WebRect&) override; | 104 void scrollRect(const WebRect&) override; |
105 void scheduleAnimation() override; | 105 void scheduleAnimation() override; |
106 void reportGeometry() override; | 106 void reportGeometry() override; |
107 void allowScriptObjects() override; | |
108 void clearScriptObjects() override; | |
109 NPObject* scriptableObjectForElement() override; | |
110 v8::Local<v8::Object> v8ObjectForElement() override; | 107 v8::Local<v8::Object> v8ObjectForElement() override; |
111 WebString executeScriptURL(const WebURL&, bool popupsAllowed) override; | 108 WebString executeScriptURL(const WebURL&, bool popupsAllowed) override; |
112 void loadFrameRequest(const WebURLRequest&, const WebString& target) overrid
e; | 109 void loadFrameRequest(const WebURLRequest&, const WebString& target) overrid
e; |
113 bool isRectTopmost(const WebRect&) override; | 110 bool isRectTopmost(const WebRect&) override; |
114 void requestTouchEventType(TouchEventRequestType) override; | 111 void requestTouchEventType(TouchEventRequestType) override; |
115 void setWantsWheelEvents(bool) override; | 112 void setWantsWheelEvents(bool) override; |
116 WebPoint rootFrameToLocalPoint(const WebPoint&) override; | 113 WebPoint rootFrameToLocalPoint(const WebPoint&) override; |
117 WebPoint localToRootFramePoint(const WebPoint&) override; | 114 WebPoint localToRootFramePoint(const WebPoint&) override; |
118 | 115 |
119 // Non-Oilpan, this cannot be null. With Oilpan, it will be | 116 // Non-Oilpan, this cannot be null. With Oilpan, it will be |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 }; | 205 }; |
209 | 206 |
210 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); | 207 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); |
211 // Unlike Widget, we need not worry about object type for container. | 208 // Unlike Widget, we need not worry about object type for container. |
212 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 209 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
213 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); | 210 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); |
214 | 211 |
215 } // namespace blink | 212 } // namespace blink |
216 | 213 |
217 #endif | 214 #endif |
OLD | NEW |