OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 WebPluginDocument& operator=(const WebPluginDocument& e) | 47 WebPluginDocument& operator=(const WebPluginDocument& e) |
48 { | 48 { |
49 WebNode::assign(e); | 49 WebNode::assign(e); |
50 return *this; | 50 return *this; |
51 } | 51 } |
52 void assign(const WebPluginDocument& d) { WebNode::assign(d); } | 52 void assign(const WebPluginDocument& d) { WebNode::assign(d); } |
53 | 53 |
54 BLINK_EXPORT WebPlugin* plugin(); | 54 BLINK_EXPORT WebPlugin* plugin(); |
55 | 55 |
56 #if BLINK_IMPLEMENTATION | 56 #if BLINK_IMPLEMENTATION |
57 WebPluginDocument(const RawPtr<PluginDocument>&); | 57 WebPluginDocument(PluginDocument*); |
58 WebPluginDocument& operator=(const RawPtr<PluginDocument>&); | 58 WebPluginDocument& operator=(PluginDocument*); |
59 operator RawPtr<PluginDocument>() const; | 59 operator PluginDocument*() const; |
60 #endif | 60 #endif |
61 }; | 61 }; |
62 | 62 |
63 DECLARE_WEB_NODE_TYPE_CASTS(WebPluginDocument); | 63 DECLARE_WEB_NODE_TYPE_CASTS(WebPluginDocument); |
64 | 64 |
65 } // namespace blink | 65 } // namespace blink |
66 | 66 |
67 #endif | 67 #endif |
OLD | NEW |