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

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

Issue 1952003002: Mac: Plumb AcceleratedWidgetMac through RWHVMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move out of base Created 4 years, 7 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; 138 void ProcessMouseEvent(const blink::WebMouseEvent& event) override;
139 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; 139 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override;
140 void ProcessTouchEvent(const blink::WebTouchEvent& event, 140 void ProcessTouchEvent(const blink::WebTouchEvent& event,
141 const ui::LatencyInfo& latency) override; 141 const ui::LatencyInfo& latency) override;
142 void ProcessGestureEvent(const blink::WebGestureEvent& event, 142 void ProcessGestureEvent(const blink::WebGestureEvent& event,
143 const ui::LatencyInfo& latency) override; 143 const ui::LatencyInfo& latency) override;
144 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; 144 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override;
145 145
146 #if defined(OS_MACOSX) 146 #if defined(OS_MACOSX)
147 // RenderWidgetHostView implementation. 147 // RenderWidgetHostView implementation.
148 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
148 void SetActive(bool active) override; 149 void SetActive(bool active) override;
149 void ShowDefinitionForSelection() override; 150 void ShowDefinitionForSelection() override;
150 bool SupportsSpeech() const override; 151 bool SupportsSpeech() const override;
151 void SpeakSelection() override; 152 void SpeakSelection() override;
152 bool IsSpeaking() const override; 153 bool IsSpeaking() const override;
153 void StopSpeaking() override; 154 void StopSpeaking() override;
154 #endif // defined(OS_MACOSX) 155 #endif // defined(OS_MACOSX)
155 156
156 // RenderWidgetHostViewBase implementation. 157 // RenderWidgetHostViewBase implementation.
157 void LockCompositingSurface() override; 158 void LockCompositingSurface() override;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // it convenient to swap() when processing the list. 227 // it convenient to swap() when processing the list.
227 FrameSwappedCallbackList frame_swapped_callbacks_; 228 FrameSwappedCallbackList frame_swapped_callbacks_;
228 229
229 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 230 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
230 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 231 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
231 }; 232 };
232 233
233 } // namespace content 234 } // namespace content
234 235
235 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 236 #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