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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.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 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 <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 456
457 gfx::Point RenderWidgetHostViewChildFrame::TransformPointToRootCoordSpace( 457 gfx::Point RenderWidgetHostViewChildFrame::TransformPointToRootCoordSpace(
458 const gfx::Point& point) { 458 const gfx::Point& point) {
459 if (!frame_connector_) 459 if (!frame_connector_)
460 return point; 460 return point;
461 461
462 return frame_connector_->TransformPointToRootCoordSpace(point, surface_id_); 462 return frame_connector_->TransformPointToRootCoordSpace(point, surface_id_);
463 } 463 }
464 464
465 #if defined(OS_MACOSX) 465 #if defined(OS_MACOSX)
466 ui::AcceleratedWidgetMac*
467 RenderWidgetHostViewChildFrame::GetAcceleratedWidgetMac() const {
468 return nullptr;
469 }
470
466 void RenderWidgetHostViewChildFrame::SetActive(bool active) { 471 void RenderWidgetHostViewChildFrame::SetActive(bool active) {
467 } 472 }
468 473
469 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { 474 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() {
470 } 475 }
471 476
472 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const { 477 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const {
473 return false; 478 return false;
474 } 479 }
475 480
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 585
581 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { 586 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const {
582 return true; 587 return true;
583 } 588 }
584 589
585 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { 590 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const {
586 return surface_id_; 591 return surface_id_;
587 }; 592 };
588 593
589 } // namespace content 594 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698