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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 virtual void widgetPositionsUpdated() override; | 95 virtual void widgetPositionsUpdated() override; |
96 virtual bool isPluginContainer() const override { return true; } | 96 virtual bool isPluginContainer() const override { return true; } |
97 virtual void eventListenersRemoved() override; | 97 virtual void eventListenersRemoved() override; |
98 virtual bool pluginShouldPersist() const override; | 98 virtual bool pluginShouldPersist() const override; |
99 | 99 |
100 // WebPluginContainer methods | 100 // WebPluginContainer methods |
101 virtual WebElement element() override; | 101 virtual WebElement element() override; |
102 virtual void invalidate() override; | 102 virtual void invalidate() override; |
103 virtual void invalidateRect(const WebRect&) override; | 103 virtual void invalidateRect(const WebRect&) override; |
104 virtual void scrollRect(const WebRect&) override; | 104 virtual void scrollRect(const WebRect&) override; |
| 105 virtual void setNeedsLayout() override; |
105 virtual void reportGeometry() override; | 106 virtual void reportGeometry() override; |
106 virtual void allowScriptObjects() override; | 107 virtual void allowScriptObjects() override; |
107 virtual void clearScriptObjects() override; | 108 virtual void clearScriptObjects() override; |
108 virtual NPObject* scriptableObjectForElement() override; | 109 virtual NPObject* scriptableObjectForElement() override; |
109 virtual v8::Local<v8::Object> v8ObjectForElement() override; | 110 virtual v8::Local<v8::Object> v8ObjectForElement() override; |
110 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) overri
de; | 111 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) overri
de; |
111 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target,
bool notifyNeeded, void* notifyData) override; | 112 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target,
bool notifyNeeded, void* notifyData) override; |
112 virtual void zoomLevelChanged(double zoomLevel) override; | 113 virtual void zoomLevelChanged(double zoomLevel) override; |
113 virtual bool isRectTopmost(const WebRect&) override; | 114 virtual bool isRectTopmost(const WebRect&) override; |
114 virtual void requestTouchEventType(TouchEventRequestType) override; | 115 virtual void requestTouchEventType(TouchEventRequestType) override; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 }; | 224 }; |
224 | 225 |
225 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); | 226 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); |
226 // Unlike Widget, we need not worry about object type for container. | 227 // Unlike Widget, we need not worry about object type for container. |
227 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 228 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
228 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); | 229 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); |
229 | 230 |
230 } // namespace blink | 231 } // namespace blink |
231 | 232 |
232 #endif | 233 #endif |
OLD | NEW |