| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "android_webview/native/aw_contents.h" | 5 #include "android_webview/native/aw_contents.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "android_webview/browser/aw_browser_context.h" | 9 #include "android_webview/browser/aw_browser_context.h" |
| 10 #include "android_webview/browser/aw_browser_main_parts.h" | 10 #include "android_webview/browser/aw_browser_main_parts.h" |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 jboolean enabled) { | 891 jboolean enabled) { |
| 892 browser_view_renderer_->EnableOnNewPicture(enabled); | 892 browser_view_renderer_->EnableOnNewPicture(enabled); |
| 893 } | 893 } |
| 894 | 894 |
| 895 void AwContents::SetJsOnlineProperty(JNIEnv* env, | 895 void AwContents::SetJsOnlineProperty(JNIEnv* env, |
| 896 jobject obj, | 896 jobject obj, |
| 897 jboolean network_up) { | 897 jboolean network_up) { |
| 898 render_view_host_ext_->SetJsOnlineProperty(network_up); | 898 render_view_host_ext_->SetJsOnlineProperty(network_up); |
| 899 } | 899 } |
| 900 | 900 |
| 901 void AwContents::TrimMemory(JNIEnv* env, jobject obj, jint level) { |
| 902 browser_view_renderer_->TrimMemory(level); |
| 903 } |
| 904 |
| 901 } // namespace android_webview | 905 } // namespace android_webview |
| OLD | NEW |