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

Side by Side Diff: chrome/browser/platform_util_android.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 months 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 unified diff | Download patch
OLDNEW
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 <jni.h> 5 #include <jni.h>
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/platform_util.h" 10 #include "chrome/browser/platform_util.h"
(...skipping 15 matching lines...) Expand all
26 const base::FilePath& full_path, 26 const base::FilePath& full_path,
27 OpenItemType item_type, 27 OpenItemType item_type,
28 const OpenOperationCallback& callback) { 28 const OpenOperationCallback& callback) {
29 NOTIMPLEMENTED(); 29 NOTIMPLEMENTED();
30 } 30 }
31 31
32 void OpenExternal(Profile* profile, const GURL& url) { 32 void OpenExternal(Profile* profile, const GURL& url) {
33 JNIEnv* env = base::android::AttachCurrentThread(); 33 JNIEnv* env = base::android::AttachCurrentThread();
34 ScopedJavaLocalRef<jstring> j_url = 34 ScopedJavaLocalRef<jstring> j_url =
35 base::android::ConvertUTF8ToJavaString(env, url.spec()); 35 base::android::ConvertUTF8ToJavaString(env, url.spec());
36 Java_PlatformUtil_launchExternalProtocol(env, j_url.obj()); 36 Java_PlatformUtil_launchExternalProtocol(env, j_url);
37 } 37 }
38 38
39 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 39 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
40 NOTIMPLEMENTED(); 40 NOTIMPLEMENTED();
41 return view->GetWindowAndroid(); 41 return view->GetWindowAndroid();
42 } 42 }
43 43
44 gfx::NativeView GetParent(gfx::NativeView view) { 44 gfx::NativeView GetParent(gfx::NativeView view) {
45 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
46 return view; 46 return view;
47 } 47 }
48 48
49 bool IsWindowActive(gfx::NativeWindow window) { 49 bool IsWindowActive(gfx::NativeWindow window) {
50 NOTIMPLEMENTED(); 50 NOTIMPLEMENTED();
51 return false; 51 return false;
52 } 52 }
53 53
54 void ActivateWindow(gfx::NativeWindow window) { 54 void ActivateWindow(gfx::NativeWindow window) {
55 NOTIMPLEMENTED(); 55 NOTIMPLEMENTED();
56 } 56 }
57 57
58 bool IsVisible(gfx::NativeView view) { 58 bool IsVisible(gfx::NativeView view) {
59 NOTIMPLEMENTED(); 59 NOTIMPLEMENTED();
60 return true; 60 return true;
61 } 61 }
62 62
63 } // namespace platform_util 63 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_update_infobar_delegate_android.cc ('k') | chrome/browser/profiles/profile_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698