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 #include "content/browser/renderer_host/render_widget_host_view_android.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_android.h" |
6 | 6 |
7 #include <android/bitmap.h> | 7 #include <android/bitmap.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 14 #include "base/strings/utf_string_conversions.h" |
14 #include "base/threading/worker_pool.h" | 15 #include "base/threading/worker_pool.h" |
15 #include "base/utf_string_conversions.h" | |
16 #include "cc/layers/delegated_renderer_layer.h" | 16 #include "cc/layers/delegated_renderer_layer.h" |
17 #include "cc/layers/layer.h" | 17 #include "cc/layers/layer.h" |
18 #include "cc/layers/texture_layer.h" | 18 #include "cc/layers/texture_layer.h" |
19 #include "cc/output/compositor_frame.h" | 19 #include "cc/output/compositor_frame.h" |
20 #include "cc/output/compositor_frame_ack.h" | 20 #include "cc/output/compositor_frame_ack.h" |
21 #include "content/browser/android/content_view_core_impl.h" | 21 #include "content/browser/android/content_view_core_impl.h" |
22 #include "content/browser/android/overscroll_glow.h" | 22 #include "content/browser/android/overscroll_glow.h" |
23 #include "content/browser/gpu/gpu_surface_tracker.h" | 23 #include "content/browser/gpu/gpu_surface_tracker.h" |
24 #include "content/browser/renderer_host/compositor_impl_android.h" | 24 #include "content/browser/renderer_host/compositor_impl_android.h" |
25 #include "content/browser/renderer_host/image_transport_factory_android.h" | 25 #include "content/browser/renderer_host/image_transport_factory_android.h" |
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 // RenderWidgetHostView, public: | 1017 // RenderWidgetHostView, public: |
1018 | 1018 |
1019 // static | 1019 // static |
1020 RenderWidgetHostView* | 1020 RenderWidgetHostView* |
1021 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { | 1021 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { |
1022 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); | 1022 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); |
1023 return new RenderWidgetHostViewAndroid(rwhi, NULL); | 1023 return new RenderWidgetHostViewAndroid(rwhi, NULL); |
1024 } | 1024 } |
1025 | 1025 |
1026 } // namespace content | 1026 } // namespace content |
OLD | NEW |