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

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

Issue 1729373003: Implement touch events for site-isolation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use positioned iframe in test to simplify event targeting. Created 4 years, 9 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_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void SelectionBoundsChanged( 97 void SelectionBoundsChanged(
98 const ViewHostMsg_SelectionBounds_Params& params) override; 98 const ViewHostMsg_SelectionBounds_Params& params) override;
99 void OnSwapCompositorFrame(uint32_t output_surface_id, 99 void OnSwapCompositorFrame(uint32_t output_surface_id,
100 scoped_ptr<cc::CompositorFrame> frame) override; 100 scoped_ptr<cc::CompositorFrame> frame) override;
101 #if defined(USE_AURA) 101 #if defined(USE_AURA)
102 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 102 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
103 InputEventAckState ack_result) override; 103 InputEventAckState ack_result) override;
104 #endif 104 #endif
105 void ProcessTouchEvent(const blink::WebTouchEvent& event, 105 void ProcessTouchEvent(const blink::WebTouchEvent& event,
106 const ui::LatencyInfo& latency) override; 106 const ui::LatencyInfo& latency) override;
107 void RegisterSurfaceNamespaceId();
108 void UnregisterSurfaceNamespaceId();
109 107
110 bool LockMouse() override; 108 bool LockMouse() override;
111 void UnlockMouse() override; 109 void UnlockMouse() override;
112 void GetScreenInfo(blink::WebScreenInfo* results) override; 110 void GetScreenInfo(blink::WebScreenInfo* results) override;
113 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 111 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
114 112
115 #if defined(OS_MACOSX) 113 #if defined(OS_MACOSX)
116 // RenderWidgetHostView implementation. 114 // RenderWidgetHostView implementation.
117 void SetActive(bool active) override; 115 void SetActive(bool active) override;
118 void SetWindowVisibility(bool visible) override; 116 void SetWindowVisibility(bool visible) override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // The platform view for this RenderWidgetHostView. 167 // The platform view for this RenderWidgetHostView.
170 // RenderWidgetHostViewGuest mostly only cares about stuff related to 168 // RenderWidgetHostViewGuest mostly only cares about stuff related to
171 // compositing, the rest are directly forwared to this |platform_view_|. 169 // compositing, the rest are directly forwared to this |platform_view_|.
172 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; 170 base::WeakPtr<RenderWidgetHostViewBase> platform_view_;
173 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
174 }; 172 };
175 173
176 } // namespace content 174 } // namespace content
177 175
178 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698