OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 virtual void GotFocus() OVERRIDE; | 90 virtual void GotFocus() OVERRIDE; |
91 virtual void TakeFocus(bool reverse) OVERRIDE; | 91 virtual void TakeFocus(bool reverse) OVERRIDE; |
92 | 92 |
93 private: | 93 private: |
94 // The WebContentsImpl whose contents we display. | 94 // The WebContentsImpl whose contents we display. |
95 WebContentsImpl* web_contents_; | 95 WebContentsImpl* web_contents_; |
96 BrowserPluginGuest* guest_; | 96 BrowserPluginGuest* guest_; |
97 // The platform dependent view backing this WebContentsView. | 97 // The platform dependent view backing this WebContentsView. |
98 // Calls to this WebContentsViewGuest are forwarded to |platform_view_|. | 98 // Calls to this WebContentsViewGuest are forwarded to |platform_view_|. |
99 WebContentsViewPort* platform_view_; | 99 WebContentsViewPort* platform_view_; |
| 100 gfx::Size size_; |
100 | 101 |
101 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 102 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace content | 105 } // namespace content |
105 | 106 |
106 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 107 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
OLD | NEW |