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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mus.cc

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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/renderer_host/render_widget_host_view_mus.h" 5 #include "content/browser/renderer_host/render_widget_host_view_mus.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "components/mus/public/cpp/window.h" 10 #include "components/mus/public/cpp/window.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 return false; 258 return false;
259 } 259 }
260 260
261 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() { 261 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() {
262 aura::Window* top_level = aura_window_->GetToplevelWindow(); 262 aura::Window* top_level = aura_window_->GetToplevelWindow();
263 gfx::Rect bounds(top_level->GetBoundsInScreen()); 263 gfx::Rect bounds(top_level->GetBoundsInScreen());
264 return bounds; 264 return bounds;
265 } 265 }
266 266
267 #if defined(OS_MACOSX) 267 #if defined(OS_MACOSX)
268 ui::AcceleratedWidgetMac* RenderWidgetHostViewMus::GetAcceleratedWidgetMac()
269 const {
270 return nullptr;
271 }
272
268 void RenderWidgetHostViewMus::SetActive(bool active) { 273 void RenderWidgetHostViewMus::SetActive(bool active) {
269 } 274 }
270 275
271 void RenderWidgetHostViewMus::ShowDefinitionForSelection() { 276 void RenderWidgetHostViewMus::ShowDefinitionForSelection() {
272 // TODO(fsamuel): Implement this on Mac. 277 // TODO(fsamuel): Implement this on Mac.
273 } 278 }
274 279
275 bool RenderWidgetHostViewMus::SupportsSpeech() const { 280 bool RenderWidgetHostViewMus::SupportsSpeech() const {
276 // TODO(fsamuel): Implement this on mac. 281 // TODO(fsamuel): Implement this on mac.
277 return false; 282 return false;
(...skipping 15 matching lines...) Expand all
293 298
294 void RenderWidgetHostViewMus::LockCompositingSurface() { 299 void RenderWidgetHostViewMus::LockCompositingSurface() {
295 NOTIMPLEMENTED(); 300 NOTIMPLEMENTED();
296 } 301 }
297 302
298 void RenderWidgetHostViewMus::UnlockCompositingSurface() { 303 void RenderWidgetHostViewMus::UnlockCompositingSurface() {
299 NOTIMPLEMENTED(); 304 NOTIMPLEMENTED();
300 } 305 }
301 306
302 } // namespace content 307 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.h ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698