OLD | NEW |
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 |
11 namespace gfx { | 11 namespace gfx { |
| 12 class Range; |
12 class Rect; | 13 class Rect; |
13 } | 14 } |
14 | 15 |
15 namespace ui { | |
16 class Range; | |
17 } | |
18 | |
19 namespace content { | 16 namespace content { |
20 | 17 |
21 // This is a browser-side message filter that lives on the IO thread to handle | 18 // This is a browser-side message filter that lives on the IO thread to handle |
22 // replies to messages sent by the TextInputClientMac. See | 19 // replies to messages sent by the TextInputClientMac. See |
23 // content/browser/renderer_host/text_input_client_mac.h for more information. | 20 // content/browser/renderer_host/text_input_client_mac.h for more information. |
24 class CONTENT_EXPORT TextInputClientMessageFilter | 21 class CONTENT_EXPORT TextInputClientMessageFilter |
25 : public BrowserMessageFilter { | 22 : public BrowserMessageFilter { |
26 public: | 23 public: |
27 explicit TextInputClientMessageFilter(int child_id); | 24 explicit TextInputClientMessageFilter(int child_id); |
28 | 25 |
(...skipping 13 matching lines...) Expand all Loading... |
42 | 39 |
43 // Child process id. | 40 // Child process id. |
44 int child_process_id_; | 41 int child_process_id_; |
45 | 42 |
46 DISALLOW_COPY_AND_ASSIGN(TextInputClientMessageFilter); | 43 DISALLOW_COPY_AND_ASSIGN(TextInputClientMessageFilter); |
47 }; | 44 }; |
48 | 45 |
49 } // namespace content | 46 } // namespace content |
50 | 47 |
51 #endif // CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_ | 48 #endif // CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_CLIENT_MESSAGE_FILTER_H_ |
OLD | NEW |