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 CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/guest_view/guest_view_base.h" | 8 #include "chrome/browser/guest_view/guest_view_base.h" |
9 | 9 |
10 template <typename T> | 10 template <typename T> |
(...skipping 28 matching lines...) Expand all Loading... |
39 return T::Type; | 39 return T::Type; |
40 } | 40 } |
41 | 41 |
42 protected: | 42 protected: |
43 GuestView(int guest_instance_id, | 43 GuestView(int guest_instance_id, |
44 content::WebContents* guest_web_contents, | 44 content::WebContents* guest_web_contents, |
45 const std::string& embedder_extension_id) | 45 const std::string& embedder_extension_id) |
46 : GuestViewBase(guest_instance_id, | 46 : GuestViewBase(guest_instance_id, |
47 guest_web_contents, | 47 guest_web_contents, |
48 embedder_extension_id) {} | 48 embedder_extension_id) {} |
| 49 virtual ~GuestView() {} |
49 | 50 |
50 private: | 51 private: |
51 DISALLOW_COPY_AND_ASSIGN(GuestView); | 52 DISALLOW_COPY_AND_ASSIGN(GuestView); |
52 }; | 53 }; |
53 | 54 |
54 #endif // CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ | 55 #endif // CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ |
OLD | NEW |