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

Side by Side Diff: ui/android/view_android.h

Issue 2827263006: Revert "Refactor ContentViewClient (6/6)" (Closed)
Patch Set: Revert "Let ImeAdapterAndroid have the same lifecycle as its Java peer" Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_ANDROID_VIEW_ANDROID_H_ 5 #ifndef UI_ANDROID_VIEW_ANDROID_H_
6 #define UI_ANDROID_VIEW_ANDROID_H_ 6 #define UI_ANDROID_VIEW_ANDROID_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void SetLayout(LayoutParams params); 131 void SetLayout(LayoutParams params);
132 132
133 bool StartDragAndDrop(const base::android::JavaRef<jstring>& jtext, 133 bool StartDragAndDrop(const base::android::JavaRef<jstring>& jtext,
134 const base::android::JavaRef<jobject>& jimage); 134 const base::android::JavaRef<jobject>& jimage);
135 135
136 void OnBackgroundColorChanged(unsigned int color); 136 void OnBackgroundColorChanged(unsigned int color);
137 void OnTopControlsChanged(float top_controls_offset, 137 void OnTopControlsChanged(float top_controls_offset,
138 float top_content_offset); 138 float top_content_offset);
139 void OnBottomControlsChanged(float bottom_controls_offset, 139 void OnBottomControlsChanged(float bottom_controls_offset,
140 float bottom_content_offset); 140 float bottom_content_offset);
141 int GetSystemWindowInsetBottom();
142 141
143 ScopedAnchorView AcquireAnchorView(); 142 ScopedAnchorView AcquireAnchorView();
144 void SetAnchorRect(const base::android::JavaRef<jobject>& anchor, 143 void SetAnchorRect(const base::android::JavaRef<jobject>& anchor,
145 const gfx::RectF& bounds); 144 const gfx::RectF& bounds);
146 145
147 // This may return null. 146 // This may return null.
148 base::android::ScopedJavaLocalRef<jobject> GetContainerView(); 147 base::android::ScopedJavaLocalRef<jobject> GetContainerView();
149 148
150 float GetDipScale(); 149 float GetDipScale();
151 150
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 202
204 gfx::Vector2dF content_offset_; // in CSS pixel. 203 gfx::Vector2dF content_offset_; // in CSS pixel.
205 std::unique_ptr<EventForwarder> event_forwarder_; 204 std::unique_ptr<EventForwarder> event_forwarder_;
206 205
207 DISALLOW_COPY_AND_ASSIGN(ViewAndroid); 206 DISALLOW_COPY_AND_ASSIGN(ViewAndroid);
208 }; 207 };
209 208
210 } // namespace ui 209 } // namespace ui
211 210
212 #endif // UI_ANDROID_VIEW_ANDROID_H_ 211 #endif // UI_ANDROID_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java ('k') | ui/android/view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698