Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: Source/web/WebPluginContainerImpl.h

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698