| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_H_ | 5 #ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_H_ |
| 6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_H_ | 6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "components/guest_view/browser/guest_view_base.h" | 9 #include "components/guest_view/browser/guest_view_base.h" |
| 9 #include "components/guest_view/browser/guest_view_manager.h" | 10 #include "components/guest_view/browser/guest_view_manager.h" |
| 10 #include "content/public/browser/render_frame_host.h" | 11 #include "content/public/browser/render_frame_host.h" |
| 11 | 12 |
| 12 namespace guest_view { | 13 namespace guest_view { |
| 13 | 14 |
| 14 // A GuestView is the templated base class for out-of-process frames in the | 15 // A GuestView is the templated base class for out-of-process frames in the |
| 15 // chrome layer. GuestView is templated on its derived type to allow for type- | 16 // chrome layer. GuestView is templated on its derived type to allow for type- |
| 16 // safe access. See GuestViewBase for more information. | 17 // safe access. See GuestViewBase for more information. |
| 17 template <typename T> | 18 template <typename T> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 : GuestViewBase(owner_web_contents) {} | 62 : GuestViewBase(owner_web_contents) {} |
| 62 ~GuestView() override {} | 63 ~GuestView() override {} |
| 63 | 64 |
| 64 private: | 65 private: |
| 65 DISALLOW_COPY_AND_ASSIGN(GuestView); | 66 DISALLOW_COPY_AND_ASSIGN(GuestView); |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 } // namespace guest_view | 69 } // namespace guest_view |
| 69 | 70 |
| 70 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_H_ | 71 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_H_ |
| OLD | NEW |