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

Unified Diff: ui/base/ime/text_input_client.h

Issue 1893523002: MacViews: Allow force touch in views::Textfield Base URL: https://chromium.googlesource.com/chromium/src.git@20160415-Mac-ForceTouch
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/ime/arc_ime_service.cc ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/text_input_client.h
diff --git a/ui/base/ime/text_input_client.h b/ui/base/ime/text_input_client.h
index 552208c30faa1e6b7d9271afed8e8c5a972b5d49..aa133bec4c3c7471e3bd814d011ea24fc86eca32 100644
--- a/ui/base/ime/text_input_client.h
+++ b/ui/base/ime/text_input_client.h
@@ -19,6 +19,7 @@
namespace gfx {
class Rect;
+class RenderText;
}
namespace ui {
@@ -175,6 +176,11 @@ class UI_BASE_IME_EXPORT TextInputClient {
// (but not yet sent to the TextInputClient). The edit command will take into
// account any OS-specific, or user-specified, keybindings that may be set up.
virtual void SetEditCommandForNextKeyEvent(int command_id) = 0;
+
+ //
+ const gfx::RenderText* GetTextAtPointInWindow(const gfx::Point& point,
+ gfx::Range* range,
+ gfx::Point* baseline_point) = 0;
};
} // namespace ui
« no previous file with comments | « components/arc/ime/arc_ime_service.cc ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698