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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual void allowScriptObjects() override; | 104 virtual void allowScriptObjects() override; |
105 virtual void clearScriptObjects() override; | 105 virtual void clearScriptObjects() override; |
106 virtual NPObject* scriptableObjectForElement() override; | 106 virtual NPObject* scriptableObjectForElement() override; |
107 virtual v8::Local<v8::Object> v8ObjectForElement() override; | 107 virtual v8::Local<v8::Object> v8ObjectForElement() override; |
108 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) overri
de; | 108 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) overri
de; |
109 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target,
bool notifyNeeded, void* notifyData) override; | 109 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target,
bool notifyNeeded, void* notifyData) override; |
110 virtual void zoomLevelChanged(double zoomLevel) override; | 110 virtual void zoomLevelChanged(double zoomLevel) override; |
111 virtual bool isRectTopmost(const WebRect&) override; | 111 virtual bool isRectTopmost(const WebRect&) override; |
112 virtual void requestTouchEventType(TouchEventRequestType) override; | 112 virtual void requestTouchEventType(TouchEventRequestType) override; |
113 virtual void setWantsWheelEvents(bool) override; | 113 virtual void setWantsWheelEvents(bool) override; |
114 virtual WebPoint windowToLocalPoint(const WebPoint&) override; | 114 virtual WebPoint rootFrameToLocalPoint(const WebPoint&) override; |
115 virtual WebPoint localToWindowPoint(const WebPoint&) override; | 115 virtual WebPoint localToRootFramePoint(const WebPoint&) override; |
116 | 116 |
117 // This cannot be null. | 117 // This cannot be null. |
118 virtual WebPlugin* plugin() override { return m_webPlugin; } | 118 virtual WebPlugin* plugin() override { return m_webPlugin; } |
119 virtual void setPlugin(WebPlugin*) override; | 119 virtual void setPlugin(WebPlugin*) override; |
120 | 120 |
121 virtual float deviceScaleFactor() override; | 121 virtual float deviceScaleFactor() override; |
122 virtual float pageScaleFactor() override; | 122 virtual float pageScaleFactor() override; |
123 virtual float pageZoomFactor() override; | 123 virtual float pageZoomFactor() override; |
124 | 124 |
125 virtual void setWebLayer(WebLayer*); | 125 virtual void setWebLayer(WebLayer*); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 }; | 217 }; |
218 | 218 |
219 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); | 219 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); |
220 // Unlike Widget, we need not worry about object type for container. | 220 // Unlike Widget, we need not worry about object type for container. |
221 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 221 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
222 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); | 222 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); |
223 | 223 |
224 } // namespace blink | 224 } // namespace blink |
225 | 225 |
226 #endif | 226 #endif |
OLD | NEW |