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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 friend class RenderWidgetHostView; | 171 friend class RenderWidgetHostView; |
172 | 172 |
173 private: | 173 private: |
174 // Destroys this view without calling |Destroy| on |platform_view_|. | 174 // Destroys this view without calling |Destroy| on |platform_view_|. |
175 void DestroyGuestView(); | 175 void DestroyGuestView(); |
176 | 176 |
177 // The model object. | 177 // The model object. |
178 RenderWidgetHostImpl* host_; | 178 RenderWidgetHostImpl* host_; |
179 | 179 |
180 BrowserPluginGuest *guest_; | 180 BrowserPluginGuest *guest_; |
181 bool enable_compositing_; | |
182 bool is_hidden_; | 181 bool is_hidden_; |
183 // The platform view for this RenderWidgetHostView. | 182 // The platform view for this RenderWidgetHostView. |
184 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 183 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
185 // compositing, the rest are directly forwared to this |platform_view_|. | 184 // compositing, the rest are directly forwared to this |platform_view_|. |
186 RenderWidgetHostViewPort* platform_view_; | 185 RenderWidgetHostViewPort* platform_view_; |
187 | 186 |
188 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 187 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
189 }; | 188 }; |
190 | 189 |
191 } // namespace content | 190 } // namespace content |
192 | 191 |
193 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 192 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |