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

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

Issue 2370393002: Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: dtrainor comments Created 4 years, 1 month 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 class MockRenderWidgetHost; 85 class MockRenderWidgetHost;
86 class RenderWidgetHostOwnerDelegate; 86 class RenderWidgetHostOwnerDelegate;
87 class SyntheticGestureController; 87 class SyntheticGestureController;
88 class TimeoutMonitor; 88 class TimeoutMonitor;
89 class TouchEmulator; 89 class TouchEmulator;
90 class WebCursor; 90 class WebCursor;
91 struct EditCommand; 91 struct EditCommand;
92 struct ResizeParams; 92 struct ResizeParams;
93 struct ScreenInfo; 93 struct ScreenInfo;
94 struct TextInputState; 94 struct TextInputState;
95 struct FormFieldData;
95 96
96 // This implements the RenderWidgetHost interface that is exposed to 97 // This implements the RenderWidgetHost interface that is exposed to
97 // embedders of content, and adds things only visible to content. 98 // embedders of content, and adds things only visible to content.
98 class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost, 99 class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
99 public InputRouterClient, 100 public InputRouterClient,
100 public InputAckHandler, 101 public InputAckHandler,
101 public TouchEmulatorClient, 102 public TouchEmulatorClient,
102 public IPC::Listener { 103 public IPC::Listener {
103 public: 104 public:
104 // |routing_id| must not be MSG_ROUTING_NONE. 105 // |routing_id| must not be MSG_ROUTING_NONE.
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 void OnClose(); 588 void OnClose();
588 void OnUpdateScreenRectsAck(); 589 void OnUpdateScreenRectsAck();
589 void OnRequestMove(const gfx::Rect& pos); 590 void OnRequestMove(const gfx::Rect& pos);
590 void OnSetTooltipText(const base::string16& tooltip_text, 591 void OnSetTooltipText(const base::string16& tooltip_text,
591 blink::WebTextDirection text_direction_hint); 592 blink::WebTextDirection text_direction_hint);
592 bool OnSwapCompositorFrame(const IPC::Message& message); 593 bool OnSwapCompositorFrame(const IPC::Message& message);
593 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 594 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
594 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 595 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
595 void OnSetCursor(const WebCursor& cursor); 596 void OnSetCursor(const WebCursor& cursor);
596 void OnTextInputStateChanged(const TextInputState& params); 597 void OnTextInputStateChanged(const TextInputState& params);
598 void OnFocusedFormFieldDataReply(int request_id,
599 const FormFieldData& field_data);
597 600
598 void OnImeCompositionRangeChanged( 601 void OnImeCompositionRangeChanged(
599 const gfx::Range& range, 602 const gfx::Range& range,
600 const std::vector<gfx::Rect>& character_bounds); 603 const std::vector<gfx::Rect>& character_bounds);
601 void OnImeCancelComposition(); 604 void OnImeCancelComposition();
602 void OnLockMouse(bool user_gesture, 605 void OnLockMouse(bool user_gesture,
603 bool last_unlocked_by_target, 606 bool last_unlocked_by_target,
604 bool privileged); 607 bool privileged);
605 void OnUnlockMouse(); 608 void OnUnlockMouse();
606 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, 609 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 #endif 865 #endif
863 866
864 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 867 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
865 868
866 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 869 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
867 }; 870 };
868 871
869 } // namespace content 872 } // namespace content
870 873
871 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 874 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698