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

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

Issue 24195023: Switch to sending IME selection updates early. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tommy's nits Created 7 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) 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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 int tag, 323 int tag,
324 const gfx::Size& page_size, 324 const gfx::Size& page_size,
325 const gfx::Size& desired_size); 325 const gfx::Size& desired_size);
326 void OnRepaint(gfx::Size size_to_paint); 326 void OnRepaint(gfx::Size size_to_paint);
327 void OnSyntheticGestureCompleted(); 327 void OnSyntheticGestureCompleted();
328 void OnSetTextDirection(WebKit::WebTextDirection direction); 328 void OnSetTextDirection(WebKit::WebTextDirection direction);
329 void OnGetFPS(); 329 void OnGetFPS();
330 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 330 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
331 const gfx::Rect& window_screen_rect); 331 const gfx::Rect& window_screen_rect);
332 #if defined(OS_ANDROID) 332 #if defined(OS_ANDROID)
333 void OnImeBatchStateChanged(bool is_begin);
334 void OnShowImeIfNeeded(); 333 void OnShowImeIfNeeded();
335 334
336 // Whenever an IME event that needs an acknowledgement is sent to the browser, 335 // Whenever an IME event that needs an acknowledgement is sent to the browser,
337 // the number of outstanding IME events that needs acknowledgement should be 336 // the number of outstanding IME events that needs acknowledgement should be
338 // incremented. All IME events will be dropped until we receive an ack from 337 // incremented. All IME events will be dropped until we receive an ack from
339 // the browser. 338 // the browser.
340 void IncrementOutstandingImeEventAcks(); 339 void IncrementOutstandingImeEventAcks();
341 340
342 // Called by the browser process for every required IME acknowledgement. 341 // Called by the browser process for every required IME acknowledgement.
343 void OnImeEventAck(); 342 void OnImeEventAck();
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 #endif 753 #endif
755 754
756 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 755 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
757 756
758 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 757 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
759 }; 758 };
760 759
761 } // namespace content 760 } // namespace content
762 761
763 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 762 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698