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

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

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix mac compile issue. Created 7 years 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
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void show(); 89 virtual void show();
90 virtual void hide(); 90 virtual void hide();
91 virtual void handleEvent(WebCore::Event*); 91 virtual void handleEvent(WebCore::Event*);
92 virtual void frameRectsChanged(); 92 virtual void frameRectsChanged();
93 virtual void setParentVisible(bool); 93 virtual void setParentVisible(bool);
94 virtual void setParent(WebCore::Widget*); 94 virtual void setParent(WebCore::Widget*);
95 virtual void widgetPositionsUpdated(); 95 virtual void widgetPositionsUpdated();
96 virtual void clipRectChanged() OVERRIDE; 96 virtual void clipRectChanged() OVERRIDE;
97 virtual bool isPluginContainer() const { return true; } 97 virtual bool isPluginContainer() const { return true; }
98 virtual void eventListenersRemoved() OVERRIDE; 98 virtual void eventListenersRemoved() OVERRIDE;
99 virtual bool pluginShouldPersist() const OVERRIDE;
99 100
100 // WebPluginContainer methods 101 // WebPluginContainer methods
101 virtual WebElement element(); 102 virtual WebElement element();
102 virtual void invalidate(); 103 virtual void invalidate();
103 virtual void invalidateRect(const WebRect&); 104 virtual void invalidateRect(const WebRect&);
104 virtual void scrollRect(int dx, int dy, const WebRect&); 105 virtual void scrollRect(int dx, int dy, const WebRect&);
105 virtual void reportGeometry(); 106 virtual void reportGeometry();
106 virtual void allowScriptObjects(); 107 virtual void allowScriptObjects();
107 virtual void clearScriptObjects(); 108 virtual void clearScriptObjects();
108 virtual NPObject* scriptableObjectForElement(); 109 virtual NPObject* scriptableObjectForElement();
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 214 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
214 return static_cast<WebPluginContainerImpl*>(container); 215 return static_cast<WebPluginContainerImpl*>(container);
215 } 216 }
216 217
217 // This will catch anyone doing an unnecessary cast. 218 // This will catch anyone doing an unnecessary cast.
218 void toPluginContainerImpl(const WebPluginContainerImpl*); 219 void toPluginContainerImpl(const WebPluginContainerImpl*);
219 220
220 } // namespace blink 221 } // namespace blink
221 222
222 #endif 223 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698