OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file.#ifndef WebViewBase_h | 3 // found in the LICENSE file.#ifndef WebViewBase_h |
4 | 4 |
5 #ifndef WebPluginContainerBase_h | 5 #ifndef WebPluginContainerBase_h |
6 #define WebPluginContainerBase_h | 6 #define WebPluginContainerBase_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/dom/ContextLifecycleObserver.h" | 9 #include "core/dom/ContextLifecycleObserver.h" |
10 #include "core/plugins/PluginView.h" | 10 #include "core/plugins/PluginView.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 plugin->IsPluginContainer(), | 62 plugin->IsPluginContainer(), |
63 plugin.IsPluginContainer()); | 63 plugin.IsPluginContainer()); |
64 // Unlike EmbeddedContentView, we need not worry about object type for | 64 // Unlike EmbeddedContentView, we need not worry about object type for |
65 // container. WebPluginContainerBase is the only subclass of WebPluginContainer. | 65 // container. WebPluginContainerBase is the only subclass of WebPluginContainer. |
66 DEFINE_TYPE_CASTS(WebPluginContainerBase, | 66 DEFINE_TYPE_CASTS(WebPluginContainerBase, |
67 WebPluginContainer, | 67 WebPluginContainer, |
68 container, | 68 container, |
69 true, | 69 true, |
70 true); | 70 true); |
71 | 71 |
72 } // nammespace blink | 72 } // namespace blink |
73 | 73 |
74 #endif // WebPluginContainerBase_h | 74 #endif // WebPluginContainerBase_h |
OLD | NEW |