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

Side by Side Diff: content/renderer/render_widget.h

Issue 8073021: Implement Pepper IME API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments from brettw, yzshen, and kochi. Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 void set_next_paint_is_restore_ack(); 273 void set_next_paint_is_restore_ack();
274 void set_next_paint_is_repaint_ack(); 274 void set_next_paint_is_repaint_ack();
275 275
276 // Checks if the input method state and caret position have been changed. 276 // Checks if the input method state and caret position have been changed.
277 // If they are changed, the new value will be sent to the browser process. 277 // If they are changed, the new value will be sent to the browser process.
278 void UpdateInputMethod(); 278 void UpdateInputMethod();
279 279
280 // Override point to obtain that the current input method state and caret 280 // Override point to obtain that the current input method state and caret
281 // position. 281 // position.
282 virtual ui::TextInputType GetTextInputType(); 282 virtual ui::TextInputType GetTextInputType();
283 virtual gfx::Rect GetCaretBounds();
283 284
284 // Override point to obtain that the current input method state about 285 // Override point to obtain that the current input method state about
285 // composition text. 286 // composition text.
286 virtual bool CanComposeInline(); 287 virtual bool CanComposeInline();
287 288
288 // Tells the renderer it does not have focus. Used to prevent us from getting 289 // Tells the renderer it does not have focus. Used to prevent us from getting
289 // the focus on our own when the browser did not focus us. 290 // the focus on our own when the browser did not focus us.
290 void ClearFocus(); 291 void ClearFocus();
291 292
292 // Set the pending window rect. 293 // Set the pending window rect.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 bool animation_task_posted_; 446 bool animation_task_posted_;
446 bool invalidation_task_posted_; 447 bool invalidation_task_posted_;
447 448
448 bool has_disable_gpu_vsync_switch_; 449 bool has_disable_gpu_vsync_switch_;
449 base::TimeTicks last_do_deferred_update_time_; 450 base::TimeTicks last_do_deferred_update_time_;
450 451
451 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 452 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
452 }; 453 };
453 454
454 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 455 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698