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

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

Issue 2703643004: [TTS] Add an ACK message to SelectWordAroundCaret. (Closed)
Patch Set: Changed to send the message on all platforms, not just Android. Created 3 years, 10 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 bool DoBrowserControlsShrinkBlinkSize() const; 372 bool DoBrowserControlsShrinkBlinkSize() const;
373 float GetTopControlsHeightDip() const; 373 float GetTopControlsHeightDip() const;
374 float GetBottomControlsHeightDip() const; 374 float GetBottomControlsHeightDip() const;
375 375
376 void MoveRangeSelectionExtent(const gfx::PointF& extent); 376 void MoveRangeSelectionExtent(const gfx::PointF& extent);
377 377
378 void SelectBetweenCoordinates(const gfx::PointF& base, 378 void SelectBetweenCoordinates(const gfx::PointF& base,
379 const gfx::PointF& extent); 379 const gfx::PointF& extent);
380 380
381 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 381 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
382 void OnSelectWordAroundCaretAck(bool did_select,
383 int start_adjust,
384 int end_adjust);
382 385
383 ui::ViewAndroid* GetViewAndroid() const; 386 ui::ViewAndroid* GetViewAndroid() const;
384 387
385 private: 388 private:
386 class ContentViewUserData; 389 class ContentViewUserData;
387 390
388 friend class ContentViewUserData; 391 friend class ContentViewUserData;
389 ~ContentViewCoreImpl() override; 392 ~ContentViewCoreImpl() override;
390 393
391 // WebContentsObserver implementation. 394 // WebContentsObserver implementation.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 454 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
452 455
453 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 456 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
454 }; 457 };
455 458
456 bool RegisterContentViewCore(JNIEnv* env); 459 bool RegisterContentViewCore(JNIEnv* env);
457 460
458 } // namespace content 461 } // namespace content
459 462
460 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 463 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698