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

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

Issue 84963003: Add candidatewindow* events related IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 virtual void OnPointerEventActivate(); 305 virtual void OnPointerEventActivate();
306 306
307 // Notifies the renderer whether or not the input method attached to this 307 // Notifies the renderer whether or not the input method attached to this
308 // process is activated. 308 // process is activated.
309 // When the input method is activated, a renderer process sends IPC messages 309 // When the input method is activated, a renderer process sends IPC messages
310 // to notify the status of its composition node. (This message is mainly used 310 // to notify the status of its composition node. (This message is mainly used
311 // for notifying the position of the input cursor so that the browser can 311 // for notifying the position of the input cursor so that the browser can
312 // display input method windows under the cursor.) 312 // display input method windows under the cursor.)
313 void SetInputMethodActive(bool activate); 313 void SetInputMethodActive(bool activate);
314 314
315 // Notifies the renderer changes of IME candidate window state.
316 void CandidateWindowShown();
317 void CandidateWindowUpdated();
318 void CandidateWindowHidden();
319
315 // Update the composition node of the renderer (or WebKit). 320 // Update the composition node of the renderer (or WebKit).
316 // WebKit has a special node (a composition node) for input method to change 321 // WebKit has a special node (a composition node) for input method to change
317 // its text without affecting any other DOM nodes. When the input method 322 // its text without affecting any other DOM nodes. When the input method
318 // (attached to the browser) updates its text, the browser sends IPC messages 323 // (attached to the browser) updates its text, the browser sends IPC messages
319 // to update the composition node of the renderer. 324 // to update the composition node of the renderer.
320 // (Read the comments of each function for its detail.) 325 // (Read the comments of each function for its detail.)
321 326
322 // Sets the text of the composition node. 327 // Sets the text of the composition node.
323 // This function can also update the cursor position and mark the specified 328 // This function can also update the cursor position and mark the specified
324 // range in the composition node. 329 // range in the composition node.
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 int64 last_input_number_; 920 int64 last_input_number_;
916 921
917 BrowserRenderingStats rendering_stats_; 922 BrowserRenderingStats rendering_stats_;
918 923
919 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 924 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
920 }; 925 };
921 926
922 } // namespace content 927 } // namespace content
923 928
924 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 929 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698