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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 2379253002: Remove ContentViewCore::PauseOrResumeGeolocation() (Closed)
Patch Set: comment Created 4 years, 2 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 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 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 WebContents* web_contents, 56 WebContents* web_contents,
57 const base::android::JavaRef<jobject>& view_android_delegate, 57 const base::android::JavaRef<jobject>& view_android_delegate,
58 ui::WindowAndroid* window_android, 58 ui::WindowAndroid* window_android,
59 const base::android::JavaRef<jobject>& java_bridge_retained_object_set); 59 const base::android::JavaRef<jobject>& java_bridge_retained_object_set);
60 60
61 // ContentViewCore implementation. 61 // ContentViewCore implementation.
62 base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override; 62 base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override;
63 WebContents* GetWebContents() const override; 63 WebContents* GetWebContents() const override;
64 ui::WindowAndroid* GetWindowAndroid() const override; 64 ui::WindowAndroid* GetWindowAndroid() const override;
65 void ShowPastePopup(int x, int y) override; 65 void ShowPastePopup(int x, int y) override;
66 void PauseOrResumeGeolocation(bool should_pause) override;
67 66
68 void AddObserver(ContentViewCoreImplObserver* observer); 67 void AddObserver(ContentViewCoreImplObserver* observer);
69 void RemoveObserver(ContentViewCoreImplObserver* observer); 68 void RemoveObserver(ContentViewCoreImplObserver* observer);
70 69
71 // -------------------------------------------------------------------------- 70 // --------------------------------------------------------------------------
72 // Methods called from Java via JNI 71 // Methods called from Java via JNI
73 // -------------------------------------------------------------------------- 72 // --------------------------------------------------------------------------
74 73
75 base::android::ScopedJavaLocalRef<jobject> GetWebContentsAndroid( 74 base::android::ScopedJavaLocalRef<jobject> GetWebContentsAndroid(
76 JNIEnv* env, 75 JNIEnv* env,
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 467 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
469 468
470 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 469 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
471 }; 470 };
472 471
473 bool RegisterContentViewCore(JNIEnv* env); 472 bool RegisterContentViewCore(JNIEnv* env);
474 473
475 } // namespace content 474 } // namespace content
476 475
477 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 476 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698