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

Side by Side Diff: content/browser/renderer_host/text_input_client_message_filter.h

Issue 1318483007: Implement "Look Up In Dictionary" context menu item asynchronously. (OS X) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments. Created 5 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_
7 7
8 #include "content/common/mac/attributed_string_coder.h" 8 #include "content/common/mac/attributed_string_coder.h"
9 #include "content/public/browser/browser_message_filter.h" 9 #include "content/public/browser/browser_message_filter.h"
10 10
(...skipping 20 matching lines...) Expand all
31 ~TextInputClientMessageFilter() override; 31 ~TextInputClientMessageFilter() override;
32 32
33 private: 33 private:
34 // IPC Message handlers: 34 // IPC Message handlers:
35 void OnGotStringAtPoint( 35 void OnGotStringAtPoint(
36 const mac::AttributedStringCoder::EncodedString& encoded_string, 36 const mac::AttributedStringCoder::EncodedString& encoded_string,
37 const gfx::Point& point); 37 const gfx::Point& point);
38 void OnGotCharacterIndexForPoint(size_t index); 38 void OnGotCharacterIndexForPoint(size_t index);
39 void OnGotFirstRectForRange(const gfx::Rect& rect); 39 void OnGotFirstRectForRange(const gfx::Rect& rect);
40 void OnGotStringFromRange( 40 void OnGotStringFromRange(
41 const mac::AttributedStringCoder::EncodedString& string); 41 const mac::AttributedStringCoder::EncodedString& string,
42 const gfx::Point& point);
42 43
43 // Child process id. 44 // Child process id.
44 int child_process_id_; 45 int child_process_id_;
45 46
46 DISALLOW_COPY_AND_ASSIGN(TextInputClientMessageFilter); 47 DISALLOW_COPY_AND_ASSIGN(TextInputClientMessageFilter);
47 }; 48 };
48 49
49 } // namespace content 50 } // namespace content
50 51
51 #endif // CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_ 52 #endif // CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698