OLD | NEW |
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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebPluginContainer_h | 31 #ifndef WebPluginContainer_h |
32 #define WebPluginContainer_h | 32 #define WebPluginContainer_h |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 | 35 |
36 struct NPObject; | 36 struct NPObject; |
37 | 37 |
38 namespace WebKit { | 38 namespace blink { |
39 | 39 |
40 class WebElement; | 40 class WebElement; |
41 class WebPlugin; | 41 class WebPlugin; |
42 class WebString; | 42 class WebString; |
43 class WebURL; | 43 class WebURL; |
44 class WebURLRequest; | 44 class WebURLRequest; |
45 class WebLayer; | 45 class WebLayer; |
46 struct WebPoint; | 46 struct WebPoint; |
47 struct WebRect; | 47 struct WebRect; |
48 | 48 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 virtual float pageZoomFactor() = 0; | 125 virtual float pageZoomFactor() = 0; |
126 | 126 |
127 // Sets the layer representing the plugin for compositing. The | 127 // Sets the layer representing the plugin for compositing. The |
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 WebKit | 135 } // namespace blink |
136 | 136 |
137 #endif | 137 #endif |
OLD | NEW |