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

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

Issue 2396083002: Clear last MouseMove root view in RWHIER if that view gets destroyed (Closed)
Patch Set: Not re-enabling test Created 4 years, 2 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void ProcessGestureEvent(const blink::WebGestureEvent& event, 133 void ProcessGestureEvent(const blink::WebGestureEvent& event,
134 const ui::LatencyInfo& latency) override; 134 const ui::LatencyInfo& latency) override;
135 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; 135 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override;
136 gfx::Point TransformPointToLocalCoordSpace( 136 gfx::Point TransformPointToLocalCoordSpace(
137 const gfx::Point& point, 137 const gfx::Point& point,
138 const cc::SurfaceId& original_surface) override; 138 const cc::SurfaceId& original_surface) override;
139 gfx::Point TransformPointToCoordSpaceForView( 139 gfx::Point TransformPointToCoordSpaceForView(
140 const gfx::Point& point, 140 const gfx::Point& point,
141 RenderWidgetHostViewBase* target_view) override; 141 RenderWidgetHostViewBase* target_view) override;
142 142
143 bool IsRenderWidgetHostViewChildFrame() override;
144
143 #if defined(OS_MACOSX) 145 #if defined(OS_MACOSX)
144 // RenderWidgetHostView implementation. 146 // RenderWidgetHostView implementation.
145 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 147 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
146 void SetActive(bool active) override; 148 void SetActive(bool active) override;
147 void ShowDefinitionForSelection() override; 149 void ShowDefinitionForSelection() override;
148 bool SupportsSpeech() const override; 150 bool SupportsSpeech() const override;
149 void SpeakSelection() override; 151 void SpeakSelection() override;
150 bool IsSpeaking() const override; 152 bool IsSpeaking() const override;
151 void StopSpeaking() override; 153 void StopSpeaking() override;
152 #endif // defined(OS_MACOSX) 154 #endif // defined(OS_MACOSX)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // The surface client ID of the parent RenderWidgetHostView. 0 if none. 250 // The surface client ID of the parent RenderWidgetHostView. 0 if none.
249 cc::FrameSinkId parent_frame_sink_id_; 251 cc::FrameSinkId parent_frame_sink_id_;
250 252
251 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 253 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
252 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 254 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
253 }; 255 };
254 256
255 } // namespace content 257 } // namespace content
256 258
257 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 259 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698