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