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

Side by Side Diff: content/public/browser/android/content_view_core.h

Issue 2103243002: Factor out ContentViewAndroidDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void PauseOrResumeGeolocation(bool should_pause) = 0; 50 virtual void PauseOrResumeGeolocation(bool should_pause) = 0;
51 51
52 // Text surrounding selection. 52 // Text surrounding selection.
53 virtual void RequestTextSurroundingSelection( 53 virtual void RequestTextSurroundingSelection(
54 int max_length, 54 int max_length,
55 const base::Callback<void(const base::string16& content, 55 const base::Callback<void(const base::string16& content,
56 int start_offset, 56 int start_offset,
57 int end_offset)>& callback) = 0; 57 int end_offset)>& callback) = 0;
58 58
59 virtual ui::WindowAndroid* GetWindowAndroid() const = 0; 59 virtual ui::WindowAndroid* GetWindowAndroid() const = 0;
60 virtual const base::android::JavaRef<jobject>& GetViewAndroidDelegate() 60 virtual ui::ViewAndroid* GetViewAndroid() = 0;
no sievers 2016/07/14 23:14:32 I think we don't need this, see other comment.
Jinsuk Kim 2016/07/15 05:46:26 Done.
61 const = 0;
62 virtual cc::Layer* GetLayer() const = 0; 61 virtual cc::Layer* GetLayer() const = 0;
63 62
64 protected: 63 protected:
65 ~ContentViewCore() {} 64 ~ContentViewCore() {}
66 }; 65 };
67 66
68 }; // namespace content 67 }; // namespace content
69 68
70 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 69 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698