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

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

Issue 2703643004: [TTS] Add an ACK message to SelectWordAroundCaret. (Closed)
Patch Set: Update the other test in ContextualSearchTapEventTest.java to know about the ACK. Created 3 years, 7 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 bool DoBrowserControlsShrinkBlinkSize() const; 301 bool DoBrowserControlsShrinkBlinkSize() const;
302 float GetTopControlsHeightDip() const; 302 float GetTopControlsHeightDip() const;
303 float GetBottomControlsHeightDip() const; 303 float GetBottomControlsHeightDip() const;
304 304
305 void MoveRangeSelectionExtent(const gfx::PointF& extent); 305 void MoveRangeSelectionExtent(const gfx::PointF& extent);
306 306
307 void SelectBetweenCoordinates(const gfx::PointF& base, 307 void SelectBetweenCoordinates(const gfx::PointF& base,
308 const gfx::PointF& extent); 308 const gfx::PointF& extent);
309 309
310 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 310 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
311 void OnSelectWordAroundCaretAck(bool did_select,
312 int start_adjust,
313 int end_adjust);
311 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event); 314 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event);
312 315
313 ui::ViewAndroid* GetViewAndroid() const; 316 ui::ViewAndroid* GetViewAndroid() const;
314 317
315 private: 318 private:
316 class ContentViewUserData; 319 class ContentViewUserData;
317 320
318 friend class ContentViewUserData; 321 friend class ContentViewUserData;
319 ~ContentViewCoreImpl() override; 322 ~ContentViewCoreImpl() override;
320 323
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 384 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
382 385
383 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
384 }; 387 };
385 388
386 bool RegisterContentViewCore(JNIEnv* env); 389 bool RegisterContentViewCore(JNIEnv* env);
387 390
388 } // namespace content 391 } // namespace content
389 392
390 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698