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

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: Merge trunk. 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 void set_next_paint_is_restore_ack(); 278 void set_next_paint_is_restore_ack();
279 void set_next_paint_is_repaint_ack(); 279 void set_next_paint_is_repaint_ack();
280 280
281 // Checks if the input method state and caret position have been changed. 281 // Checks if the input method state and caret position have been changed.
282 // If they are changed, the new value will be sent to the browser process. 282 // If they are changed, the new value will be sent to the browser process.
283 void UpdateInputMethod(); 283 void UpdateInputMethod();
284 284
285 // Override point to obtain that the current input method state and caret 285 // Override point to obtain that the current input method state and caret
286 // position. 286 // position.
287 virtual ui::TextInputType GetTextInputType(); 287 virtual ui::TextInputType GetTextInputType();
288 virtual gfx::Rect GetCaretBounds();
288 289
289 // Override point to obtain that the current input method state about 290 // Override point to obtain that the current input method state about
290 // composition text. 291 // composition text.
291 virtual bool CanComposeInline(); 292 virtual bool CanComposeInline();
292 293
293 // Tells the renderer it does not have focus. Used to prevent us from getting 294 // Tells the renderer it does not have focus. Used to prevent us from getting
294 // the focus on our own when the browser did not focus us. 295 // the focus on our own when the browser did not focus us.
295 void ClearFocus(); 296 void ClearFocus();
296 297
297 // Set the pending window rect. 298 // Set the pending window rect.
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 bool animation_task_posted_; 455 bool animation_task_posted_;
455 bool invalidation_task_posted_; 456 bool invalidation_task_posted_;
456 457
457 bool has_disable_gpu_vsync_switch_; 458 bool has_disable_gpu_vsync_switch_;
458 base::TimeTicks last_do_deferred_update_time_; 459 base::TimeTicks last_do_deferred_update_time_;
459 460
460 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 461 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
461 }; 462 };
462 463
463 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 464 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698