Index: content/browser/renderer_host/text_input_client_mac.h |
diff --git a/content/browser/renderer_host/text_input_client_mac.h b/content/browser/renderer_host/text_input_client_mac.h |
index 53318f95cb5bb49efe6403fe3bb62a05cbce2538..310a5763cba0fb9d543a6330347f4d37abdc5e77 100644 |
--- a/content/browser/renderer_host/text_input_client_mac.h |
+++ b/content/browser/renderer_host/text_input_client_mac.h |
@@ -37,6 +37,11 @@ class CONTENT_EXPORT TextInputClientMac { |
// Returns the singleton instance. |
static TextInputClientMac* GetInstance(); |
+ void GetStringAtPoint(RenderWidgetHost* rwh, |
+ gfx::Point point, |
+ void (^replyHandler)(NSAttributedString*, NSRect)); |
+ void GetStringAtPointReply(NSAttributedString*, NSRect); |
+ |
// Each of the three methods mentioned above has an associated pair of methods |
// to get data from the renderer. The Get*() methods block the calling thread |
// (always the UI thread) with a short timeout after the async message has |
@@ -82,6 +87,8 @@ class CONTENT_EXPORT TextInputClientMac { |
base::Lock lock_; |
base::ConditionVariable condition_; |
+ void (^replyHandler_)(NSAttributedString*, NSRect); |
Avi (use Gerrit)
2014/02/18 21:42:25
Don't use raw pointers if possible. ScopedBlock?
|
+ |
DISALLOW_COPY_AND_ASSIGN(TextInputClientMac); |
}; |