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

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

Issue 1249013005: Merge ViewHostMsg_TextInputTypeChanged and ViewHostMsg_TextInputStateChanged into one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 4 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_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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 void OnUpdateScreenRectsAck(); 584 void OnUpdateScreenRectsAck();
585 void OnRequestMove(const gfx::Rect& pos); 585 void OnRequestMove(const gfx::Rect& pos);
586 void OnSetTooltipText(const base::string16& tooltip_text, 586 void OnSetTooltipText(const base::string16& tooltip_text,
587 blink::WebTextDirection text_direction_hint); 587 blink::WebTextDirection text_direction_hint);
588 bool OnSwapCompositorFrame(const IPC::Message& message); 588 bool OnSwapCompositorFrame(const IPC::Message& message);
589 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 589 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
590 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 590 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
591 virtual void OnFocus(); 591 virtual void OnFocus();
592 virtual void OnBlur(); 592 virtual void OnBlur();
593 void OnSetCursor(const WebCursor& cursor); 593 void OnSetCursor(const WebCursor& cursor);
594 void OnTextInputTypeChanged(ui::TextInputType type, 594 void OnTextInputStateChanged(
595 ui::TextInputMode input_mode, 595 const ViewHostMsg_TextInputState_Params& params);
596 bool can_compose_inline,
597 int flags);
598 596
599 void OnImeCompositionRangeChanged( 597 void OnImeCompositionRangeChanged(
600 const gfx::Range& range, 598 const gfx::Range& range,
601 const std::vector<gfx::Rect>& character_bounds); 599 const std::vector<gfx::Rect>& character_bounds);
602 void OnImeCancelComposition(); 600 void OnImeCancelComposition();
603 void OnLockMouse(bool user_gesture, 601 void OnLockMouse(bool user_gesture,
604 bool last_unlocked_by_target, 602 bool last_unlocked_by_target,
605 bool privileged); 603 bool privileged);
606 void OnUnlockMouse(); 604 void OnUnlockMouse();
607 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, 605 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels,
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 bool is_focused_; 814 bool is_focused_;
817 815
818 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 816 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
819 817
820 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 818 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
821 }; 819 };
822 820
823 } // namespace content 821 } // namespace content
824 822
825 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 823 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698