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

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

Issue 1278593004: Introduce ThreadedInputConnection behind a switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 const gfx::Rect& window_screen_rect); 453 const gfx::Rect& window_screen_rect);
454 void OnShowImeIfNeeded(); 454 void OnShowImeIfNeeded();
455 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace); 455 void OnSetSurfaceIdNamespace(uint32_t surface_id_namespace);
456 456
457 #if defined(OS_ANDROID) 457 #if defined(OS_ANDROID)
458 // Called when we send IME event that expects an ACK. 458 // Called when we send IME event that expects an ACK.
459 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 459 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
460 460
461 // Called by the browser process for every required IME acknowledgement. 461 // Called by the browser process for every required IME acknowledgement.
462 void OnImeEventAck(); 462 void OnImeEventAck();
463
464 // Called by the browser process to update text input state.
465 void OnRequestTextInputStateUpdate();
463 #endif 466 #endif
464 467
465 // Notify the compositor about a change in viewport size. This should be 468 // Notify the compositor about a change in viewport size. This should be
466 // used only with auto resize mode WebWidgets, as normal WebWidgets should 469 // used only with auto resize mode WebWidgets, as normal WebWidgets should
467 // go through OnResize. 470 // go through OnResize.
468 void AutoResizeCompositor(); 471 void AutoResizeCompositor();
469 472
470 virtual void SetDeviceScaleFactor(float device_scale_factor); 473 virtual void SetDeviceScaleFactor(float device_scale_factor);
471 virtual bool SetDeviceColorProfile(const std::vector<char>& color_profile); 474 virtual bool SetDeviceColorProfile(const std::vector<char>& color_profile);
472 virtual void ResetDeviceColorProfileForTesting(); 475 virtual void ResetDeviceColorProfileForTesting();
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 ui::MenuSourceType context_menu_source_type_; 814 ui::MenuSourceType context_menu_source_type_;
812 bool has_host_context_menu_location_; 815 bool has_host_context_menu_location_;
813 gfx::Point host_context_menu_location_; 816 gfx::Point host_context_menu_location_;
814 817
815 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 818 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
816 }; 819 };
817 820
818 } // namespace content 821 } // namespace content
819 822
820 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 823 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698