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

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

Issue 2790893004: Delete Android content detectors. (Closed)
Patch Set: Rebase 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"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "ui/android/ui_android_export.h" 13 #include "ui/android/ui_android_export.h"
14 #include "ui/gfx/geometry/rect_f.h" 14 #include "ui/gfx/geometry/rect_f.h"
15 15
16 class GURL;
17
18 namespace cc { 16 namespace cc {
19 class Layer; 17 class Layer;
20 } 18 }
21 19
22 namespace ui { 20 namespace ui {
23 class EventForwarder; 21 class EventForwarder;
24 class MotionEventAndroid; 22 class MotionEventAndroid;
25 class ViewClient; 23 class ViewClient;
26 class WindowAndroid; 24 class WindowAndroid;
27 25
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void SetLayout(LayoutParams params); 131 void SetLayout(LayoutParams params);
134 132
135 bool StartDragAndDrop(const base::android::JavaRef<jstring>& jtext, 133 bool StartDragAndDrop(const base::android::JavaRef<jstring>& jtext,
136 const base::android::JavaRef<jobject>& jimage); 134 const base::android::JavaRef<jobject>& jimage);
137 135
138 void OnBackgroundColorChanged(unsigned int color); 136 void OnBackgroundColorChanged(unsigned int color);
139 void OnTopControlsChanged(float top_controls_offset, 137 void OnTopControlsChanged(float top_controls_offset,
140 float top_content_offset); 138 float top_content_offset);
141 void OnBottomControlsChanged(float bottom_controls_offset, 139 void OnBottomControlsChanged(float bottom_controls_offset,
142 float bottom_content_offset); 140 float bottom_content_offset);
143 void StartContentIntent(const GURL& content_url, bool is_main_frame);
144 141
145 ScopedAnchorView AcquireAnchorView(); 142 ScopedAnchorView AcquireAnchorView();
146 void SetAnchorRect(const base::android::JavaRef<jobject>& anchor, 143 void SetAnchorRect(const base::android::JavaRef<jobject>& anchor,
147 const gfx::RectF& bounds); 144 const gfx::RectF& bounds);
148 145
149 // This may return null. 146 // This may return null.
150 base::android::ScopedJavaLocalRef<jobject> GetContainerView(); 147 base::android::ScopedJavaLocalRef<jobject> GetContainerView();
151 148
152 float GetDipScale(); 149 float GetDipScale();
153 150
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 202
206 gfx::Vector2dF content_offset_; // in CSS pixel. 203 gfx::Vector2dF content_offset_; // in CSS pixel.
207 std::unique_ptr<EventForwarder> event_forwarder_; 204 std::unique_ptr<EventForwarder> event_forwarder_;
208 205
209 DISALLOW_COPY_AND_ASSIGN(ViewAndroid); 206 DISALLOW_COPY_AND_ASSIGN(ViewAndroid);
210 }; 207 };
211 208
212 } // namespace ui 209 } // namespace ui
213 210
214 #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