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

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

Issue 348193002: Remove some dead scrolling paths and unused params (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebPagePopupImpl.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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void setParent(WebCore::Widget*) OVERRIDE; 94 virtual void setParent(WebCore::Widget*) OVERRIDE;
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(int dx, int dy, const WebRect&) OVERRIDE; 104 virtual void scrollRect(const WebRect&) OVERRIDE;
105 virtual void reportGeometry() OVERRIDE; 105 virtual void reportGeometry() OVERRIDE;
106 virtual void allowScriptObjects() OVERRIDE; 106 virtual void allowScriptObjects() OVERRIDE;
107 virtual void clearScriptObjects() OVERRIDE; 107 virtual void clearScriptObjects() OVERRIDE;
108 virtual NPObject* scriptableObjectForElement() OVERRIDE; 108 virtual NPObject* scriptableObjectForElement() OVERRIDE;
109 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) OVERRI DE; 109 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) OVERRI DE;
110 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData) OVERRIDE; 110 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData) OVERRIDE;
111 virtual void zoomLevelChanged(double zoomLevel) OVERRIDE; 111 virtual void zoomLevelChanged(double zoomLevel) OVERRIDE;
112 virtual bool isRectTopmost(const WebRect&) OVERRIDE; 112 virtual bool isRectTopmost(const WebRect&) OVERRIDE;
113 virtual void requestTouchEventType(TouchEventRequestType) OVERRIDE; 113 virtual void requestTouchEventType(TouchEventRequestType) OVERRIDE;
114 virtual void setWantsWheelEvents(bool) OVERRIDE; 114 virtual void setWantsWheelEvents(bool) OVERRIDE;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 }; 200 };
201 201
202 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebCore::Widget, widget, widget->isPlu ginContainer(), widget.isPluginContainer()); 202 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebCore::Widget, widget, widget->isPlu ginContainer(), widget.isPluginContainer());
203 // Unlike Widget, we need not worry about object type for container. 203 // Unlike Widget, we need not worry about object type for container.
204 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 204 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
205 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); 205 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue);
206 206
207 } // namespace blink 207 } // namespace blink
208 208
209 #endif 209 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698