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_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
263 // Informs the render view that a PPAPI plugin has gained or lost focus. | 263 // Informs the render view that a PPAPI plugin has gained or lost focus. |
264 void PpapiPluginFocusChanged(); | 264 void PpapiPluginFocusChanged(); |
265 | 265 |
266 // Informs the render view that a PPAPI plugin has changed text input status. | 266 // Informs the render view that a PPAPI plugin has changed text input status. |
267 void PpapiPluginTextInputTypeChanged(); | 267 void PpapiPluginTextInputTypeChanged(); |
268 void PpapiPluginCaretPositionChanged(); | 268 void PpapiPluginCaretPositionChanged(); |
269 | 269 |
270 // Cancels current composition. | 270 // Cancels current composition. |
271 void PpapiPluginCancelComposition(); | 271 void PpapiPluginCancelComposition(); |
272 | 272 |
273 // Informs the render view that a PPAPI plugin has changed selction. | |
yzshen1
2012/03/08 07:51:43
selction -> selection
kinaba
2012/03/14 04:28:53
Done.
| |
274 void PpapiPluginSelectionChanged(); | |
275 | |
273 // Retrieves the current caret position if a PPAPI plugin has focus. | 276 // Retrieves the current caret position if a PPAPI plugin has focus. |
274 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); | 277 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); |
275 | 278 |
276 #if defined(OS_MACOSX) || defined(OS_WIN) | 279 #if defined(OS_MACOSX) || defined(OS_WIN) |
277 // Informs the render view that the given plugin has gained or lost focus. | 280 // Informs the render view that the given plugin has gained or lost focus. |
278 void PluginFocusChanged(bool focused, int plugin_id); | 281 void PluginFocusChanged(bool focused, int plugin_id); |
279 #endif | 282 #endif |
280 | 283 |
281 #if defined(OS_MACOSX) | 284 #if defined(OS_MACOSX) |
282 // Starts plugin IME. | 285 // Starts plugin IME. |
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1290 // bunch of stuff, you should probably create a helper class and put your | 1293 // bunch of stuff, you should probably create a helper class and put your |
1291 // data and methods on that to avoid bloating RenderView more. You can | 1294 // data and methods on that to avoid bloating RenderView more. You can |
1292 // use the Observer interface to filter IPC messages and receive frame change | 1295 // use the Observer interface to filter IPC messages and receive frame change |
1293 // notifications. | 1296 // notifications. |
1294 // --------------------------------------------------------------------------- | 1297 // --------------------------------------------------------------------------- |
1295 | 1298 |
1296 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1299 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1297 }; | 1300 }; |
1298 | 1301 |
1299 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1302 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |