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

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

Issue 2100513002: Delete more probably unused plugin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Widget methods 82 // Widget methods
83 void setFrameRect(const IntRect&) override; 83 void setFrameRect(const IntRect&) override;
84 void paint(GraphicsContext&, const CullRect&) const override; 84 void paint(GraphicsContext&, const CullRect&) const override;
85 void invalidateRect(const IntRect&) override; 85 void invalidateRect(const IntRect&) override;
86 void setFocus(bool, WebFocusType) override; 86 void setFocus(bool, WebFocusType) override;
87 void show() override; 87 void show() override;
88 void hide() override; 88 void hide() override;
89 void handleEvent(Event*) override; 89 void handleEvent(Event*) override;
90 void frameRectsChanged() override; 90 void frameRectsChanged() override;
91 void setParentVisible(bool) override; 91 void setParentVisible(bool) override;
92 void setParent(Widget*) override;
93 void widgetGeometryMayHaveChanged() override; 92 void widgetGeometryMayHaveChanged() override;
94 bool isPluginContainer() const override { return true; } 93 bool isPluginContainer() const override { return true; }
95 void eventListenersRemoved() override; 94 void eventListenersRemoved() override;
96 95
97 // WebPluginContainer methods 96 // WebPluginContainer methods
98 WebElement element() override; 97 WebElement element() override;
99 WebDocument document() override; 98 WebDocument document() override;
100 void dispatchProgressEvent(const WebString& type, bool lengthComputable, uns igned long long loaded, unsigned long long total, const WebString& url) override ; 99 void dispatchProgressEvent(const WebString& type, bool lengthComputable, uns igned long long loaded, unsigned long long total, const WebString& url) override ;
101 void enqueueMessageEvent(const WebDOMMessageEvent&) override; 100 void enqueueMessageEvent(const WebDOMMessageEvent&) override;
102 void invalidate() override; 101 void invalidate() override;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 }; 208 };
210 209
211 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer()); 210 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer());
212 // Unlike Widget, we need not worry about object type for container. 211 // Unlike Widget, we need not worry about object type for container.
213 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 212 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
214 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); 213 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue);
215 214
216 } // namespace blink 215 } // namespace blink
217 216
218 #endif 217 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698