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_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ | 5 #ifndef CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ |
6 #define CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ | 6 #define CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/public/renderer/render_view_observer.h" | 10 #include "content/public/renderer/render_view_observer.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 private: | 33 private: |
34 // Returns the WebView of the RenderView. | 34 // Returns the WebView of the RenderView. |
35 blink::WebView* webview(); | 35 blink::WebView* webview(); |
36 | 36 |
37 // IPC Message handlers: | 37 // IPC Message handlers: |
38 void OnStringAtPoint(gfx::Point point); | 38 void OnStringAtPoint(gfx::Point point); |
39 void OnCharacterIndexForPoint(gfx::Point point); | 39 void OnCharacterIndexForPoint(gfx::Point point); |
40 void OnFirstRectForCharacterRange(gfx::Range range); | 40 void OnFirstRectForCharacterRange(gfx::Range range); |
41 void OnStringForRange(gfx::Range range); | 41 void OnStringForRange(gfx::Range range); |
42 | 42 |
| 43 #if defined(ENABLE_PLUGINS) |
43 RenderViewImpl* const render_view_impl_; | 44 RenderViewImpl* const render_view_impl_; |
| 45 #endif |
44 | 46 |
45 DISALLOW_COPY_AND_ASSIGN(TextInputClientObserver); | 47 DISALLOW_COPY_AND_ASSIGN(TextInputClientObserver); |
46 }; | 48 }; |
47 | 49 |
48 } // namespace content | 50 } // namespace content |
49 | 51 |
50 #endif // CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ | 52 #endif // CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ |
OLD | NEW |