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

Side by Side Diff: content/browser/frame_host/cross_process_frame_connector.h

Issue 1652483002: Browser Side Text Input State Tracking for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 float device_scale_factor() const { return device_scale_factor_; } 101 float device_scale_factor() const { return device_scale_factor_; }
102 void GetScreenInfo(blink::WebScreenInfo* results); 102 void GetScreenInfo(blink::WebScreenInfo* results);
103 void UpdateCursor(const WebCursor& cursor); 103 void UpdateCursor(const WebCursor& cursor);
104 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point, 104 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point,
105 cc::SurfaceId surface_id); 105 cc::SurfaceId surface_id);
106 106
107 // Determines whether the root RenderWidgetHostView (and thus the current 107 // Determines whether the root RenderWidgetHostView (and thus the current
108 // page) has focus. 108 // page) has focus.
109 bool HasFocus(); 109 bool HasFocus();
110 110
111 void NotifyRootViewOfTextInputStateChanged();
112
111 private: 113 private:
112 // Handlers for messages received from the parent frame. 114 // Handlers for messages received from the parent frame.
113 void OnCompositorFrameSwappedACK( 115 void OnCompositorFrameSwappedACK(
114 const FrameHostMsg_CompositorFrameSwappedACK_Params& params); 116 const FrameHostMsg_CompositorFrameSwappedACK_Params& params);
115 void OnReclaimCompositorResources( 117 void OnReclaimCompositorResources(
116 const FrameHostMsg_ReclaimCompositorResources_Params& params); 118 const FrameHostMsg_ReclaimCompositorResources_Params& params);
117 void OnForwardInputEvent(const blink::WebInputEvent* event); 119 void OnForwardInputEvent(const blink::WebInputEvent* event);
118 void OnFrameRectChanged(const gfx::Rect& frame_rect); 120 void OnFrameRectChanged(const gfx::Rect& frame_rect);
119 void OnVisibilityChanged(bool visible); 121 void OnVisibilityChanged(bool visible);
120 void OnInitializeChildFrame(gfx::Rect frame_rect, float scale_factor); 122 void OnInitializeChildFrame(gfx::Rect frame_rect, float scale_factor);
(...skipping 15 matching lines...) Expand all
136 RenderWidgetHostViewChildFrame* view_; 138 RenderWidgetHostViewChildFrame* view_;
137 139
138 gfx::Rect child_frame_rect_; 140 gfx::Rect child_frame_rect_;
139 float device_scale_factor_; 141 float device_scale_factor_;
140 }; 142 };
141 143
142 } // namespace content 144 } // namespace content
143 145
144 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 146 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
145 147
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698