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

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

Issue 1129883003: Pass Surface ID namespace to renderer compositors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set initial namespace value Created 5 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
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 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
6 6
7 #include "content/browser/accessibility/browser_accessibility_manager.h" 7 #include "content/browser/accessibility/browser_accessibility_manager.h"
8 #include "content/browser/frame_host/cross_process_frame_connector.h" 8 #include "content/browser/frame_host/cross_process_frame_connector.h"
9 #include "content/browser/renderer_host/render_widget_host_impl.h" 9 #include "content/browser/renderer_host/render_widget_host_impl.h"
10 #include "content/common/gpu/gpu_messages.h" 10 #include "content/common/gpu/gpu_messages.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 218 }
219 #endif // defined(USE_AURA) 219 #endif // defined(USE_AURA)
220 220
221 bool RenderWidgetHostViewChildFrame::LockMouse() { 221 bool RenderWidgetHostViewChildFrame::LockMouse() {
222 return false; 222 return false;
223 } 223 }
224 224
225 void RenderWidgetHostViewChildFrame::UnlockMouse() { 225 void RenderWidgetHostViewChildFrame::UnlockMouse() {
226 } 226 }
227 227
228 uint32_t RenderWidgetHostViewChildFrame::GetSurfaceIdNamespace() {
229 // TODO(kenrb): Create SurfaceFactory here when RWHVChildFrame
230 // gets compositor surface support.
231 return 0;
232 }
233
228 #if defined(OS_MACOSX) 234 #if defined(OS_MACOSX)
229 void RenderWidgetHostViewChildFrame::SetActive(bool active) { 235 void RenderWidgetHostViewChildFrame::SetActive(bool active) {
230 } 236 }
231 237
232 void RenderWidgetHostViewChildFrame::SetWindowVisibility(bool visible) { 238 void RenderWidgetHostViewChildFrame::SetWindowVisibility(bool visible) {
233 } 239 }
234 240
235 void RenderWidgetHostViewChildFrame::WindowFrameChanged() { 241 void RenderWidgetHostViewChildFrame::WindowFrameChanged() {
236 } 242 }
237 243
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 } 309 }
304 310
305 BrowserAccessibilityManager* 311 BrowserAccessibilityManager*
306 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( 312 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager(
307 BrowserAccessibilityDelegate* delegate) { 313 BrowserAccessibilityDelegate* delegate) {
308 return BrowserAccessibilityManager::Create( 314 return BrowserAccessibilityManager::Create(
309 BrowserAccessibilityManager::GetEmptyDocument(), delegate); 315 BrowserAccessibilityManager::GetEmptyDocument(), delegate);
310 } 316 }
311 317
312 } // namespace content 318 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698