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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 RenderWidgetHostImpl* host_; | 298 RenderWidgetHostImpl* host_; |
299 | 299 |
300 // Used to track whether this render widget needs a BeginFrame. | 300 // Used to track whether this render widget needs a BeginFrame. |
301 bool needs_begin_frame_; | 301 bool needs_begin_frame_; |
302 | 302 |
303 bool is_showing_; | 303 bool is_showing_; |
304 | 304 |
305 // ContentViewCoreImpl is our interface to the view system. | 305 // ContentViewCoreImpl is our interface to the view system. |
306 ContentViewCoreImpl* content_view_core_; | 306 ContentViewCoreImpl* content_view_core_; |
307 | 307 |
308 ImeAdapterAndroid ime_adapter_android_; | 308 scoped_refptr<ImeAdapterAndroid> ime_adapter_android_; |
309 | 309 |
310 // Body background color of the underlying document. | 310 // Body background color of the underlying document. |
311 SkColor cached_background_color_; | 311 SkColor cached_background_color_; |
312 | 312 |
313 // The texture layer for this view when using browser-side compositing. | 313 // The texture layer for this view when using browser-side compositing. |
314 scoped_refptr<cc::TextureLayer> texture_layer_; | 314 scoped_refptr<cc::TextureLayer> texture_layer_; |
315 | 315 |
316 scoped_refptr<cc::DelegatedFrameResourceCollection> resource_collection_; | 316 scoped_refptr<cc::DelegatedFrameResourceCollection> resource_collection_; |
317 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; | 317 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; |
318 scoped_refptr<cc::DelegatedRendererLayer> delegated_renderer_layer_; | 318 scoped_refptr<cc::DelegatedRendererLayer> delegated_renderer_layer_; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
359 | 359 |
360 bool using_delegated_renderer_; | 360 bool using_delegated_renderer_; |
361 | 361 |
362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
363 }; | 363 }; |
364 | 364 |
365 } // namespace content | 365 } // namespace content |
366 | 366 |
367 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 367 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |