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

Side by Side Diff: public/web/WebPluginContainer.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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 TouchEventRequestTypeNone, 52 TouchEventRequestTypeNone,
53 TouchEventRequestTypeRaw, 53 TouchEventRequestTypeRaw,
54 TouchEventRequestTypeSynthesizedMouse, 54 TouchEventRequestTypeSynthesizedMouse,
55 }; 55 };
56 56
57 // Returns the element containing this plugin. 57 // Returns the element containing this plugin.
58 virtual WebElement element() = 0; 58 virtual WebElement element() = 0;
59 59
60 virtual void invalidate() = 0; 60 virtual void invalidate() = 0;
61 virtual void invalidateRect(const WebRect&) = 0; 61 virtual void invalidateRect(const WebRect&) = 0;
62 virtual void scrollRect(int dx, int dy, const WebRect&) = 0; 62 virtual void scrollRect(const WebRect&) = 0;
63 63
64 // Causes the container to report its current geometry via 64 // Causes the container to report its current geometry via
65 // WebPlugin::updateGeometry. 65 // WebPlugin::updateGeometry.
66 virtual void reportGeometry() = 0; 66 virtual void reportGeometry() = 0;
67 67
68 // Allow the plugin to pass script objects to the browser. The container 68 // Allow the plugin to pass script objects to the browser. The container
69 // tracks ownership of script objects in order to allow browser references 69 // tracks ownership of script objects in order to allow browser references
70 // to them to be dropped when clearScriptObjects is called. 70 // to them to be dropped when clearScriptObjects is called.
71 virtual void allowScriptObjects() = 0; 71 virtual void allowScriptObjects() = 0;
72 72
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // WebPluginContainer does *not* take ownership. 128 // WebPluginContainer does *not* take ownership.
129 virtual void setWebLayer(WebLayer*) = 0; 129 virtual void setWebLayer(WebLayer*) = 0;
130 130
131 protected: 131 protected:
132 ~WebPluginContainer() { } 132 ~WebPluginContainer() { }
133 }; 133 };
134 134
135 } // namespace blink 135 } // namespace blink
136 136
137 #endif 137 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698