Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 2380743003: Refactor ContentViewClient (2/6) (Closed)
Patch Set: // Do nothing Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/android/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index c124bc2430a37943d3815514fd623f93cc559d96..06b28bb8624de1dfa3299d1936c44a82fa06395b 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -15,7 +15,6 @@
#include "base/macros.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/string_util.h"
-#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "cc/layers/layer.h"
#include "cc/layers/solid_color_layer.h"
@@ -443,16 +442,6 @@ void ContentViewCoreImpl::UpdateFrameInfo(
insertion_marker_top, insertion_marker_bottom);
}
-void ContentViewCoreImpl::SetTitle(const base::string16& title) {
- JNIEnv* env = AttachCurrentThread();
- ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
- if (obj.is_null())
- return;
- ScopedJavaLocalRef<jstring> jtitle =
- ConvertUTF8ToJavaString(env, base::UTF16ToUTF8(title));
- Java_ContentViewCore_setTitle(env, obj, jtitle);
-}
-
void ContentViewCoreImpl::OnBackgroundColorChanged(SkColor color) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/android/web_contents_observer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698