OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "android_webview/browser/browser_view_renderer_impl.h" | 5 #include "android_webview/browser/browser_view_renderer_impl.h" |
6 | 6 |
7 #include <android/bitmap.h> | 7 #include <android/bitmap.h> |
8 | 8 |
9 #include "android_webview/browser/in_process_renderer/in_process_view_renderer.h
" | 9 #include "android_webview/browser/in_process_view_renderer.h" |
10 #include "android_webview/common/aw_switches.h" | 10 #include "android_webview/common/aw_switches.h" |
11 #include "android_webview/common/renderer_picture_map.h" | 11 #include "android_webview/common/renderer_picture_map.h" |
12 #include "android_webview/public/browser/draw_gl.h" | 12 #include "android_webview/public/browser/draw_gl.h" |
13 #include "android_webview/public/browser/draw_sw.h" | 13 #include "android_webview/public/browser/draw_sw.h" |
14 #include "base/android/jni_android.h" | 14 #include "base/android/jni_android.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/debug/trace_event.h" | 16 #include "base/debug/trace_event.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "cc/layers/layer.h" | 18 #include "cc/layers/layer.h" |
19 #include "content/public/browser/android/content_view_core.h" | 19 #include "content/public/browser/android/content_view_core.h" |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 | 561 |
562 void BrowserViewRendererImpl::OnFrameInfoUpdated( | 562 void BrowserViewRendererImpl::OnFrameInfoUpdated( |
563 const gfx::SizeF& content_size, | 563 const gfx::SizeF& content_size, |
564 const gfx::Vector2dF& scroll_offset, | 564 const gfx::Vector2dF& scroll_offset, |
565 float page_scale_factor) { | 565 float page_scale_factor) { |
566 page_scale_ = page_scale_factor; | 566 page_scale_ = page_scale_factor; |
567 content_size_css_ = content_size; | 567 content_size_css_ = content_size; |
568 } | 568 } |
569 | 569 |
570 } // namespace android_webview | 570 } // namespace android_webview |
OLD | NEW |