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

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

Issue 1809793002: Fix connection between BrowserAccessibilityManager and ContentViewCore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: InternalGetChild -> PlatformGetChild so we can walk into iframes Created 4 years, 9 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 std::back_inserter(surface_returned_resources_)); 563 std::back_inserter(surface_returned_resources_));
564 } 564 }
565 565
566 void RenderWidgetHostViewChildFrame::SetBeginFrameSource( 566 void RenderWidgetHostViewChildFrame::SetBeginFrameSource(
567 cc::BeginFrameSource* begin_frame_source) { 567 cc::BeginFrameSource* begin_frame_source) {
568 // TODO(tansell): Hook this up. 568 // TODO(tansell): Hook this up.
569 } 569 }
570 570
571 BrowserAccessibilityManager* 571 BrowserAccessibilityManager*
572 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( 572 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager(
573 BrowserAccessibilityDelegate* delegate) { 573 BrowserAccessibilityDelegate* delegate, bool for_root_frame) {
574 return BrowserAccessibilityManager::Create( 574 return BrowserAccessibilityManager::Create(
575 BrowserAccessibilityManager::GetEmptyDocument(), delegate); 575 BrowserAccessibilityManager::GetEmptyDocument(), delegate);
576 } 576 }
577 577
578 void RenderWidgetHostViewChildFrame::ClearCompositorSurfaceIfNecessary() { 578 void RenderWidgetHostViewChildFrame::ClearCompositorSurfaceIfNecessary() {
579 if (surface_factory_ && !surface_id_.is_null()) 579 if (surface_factory_ && !surface_id_.is_null())
580 surface_factory_->Destroy(surface_id_); 580 surface_factory_->Destroy(surface_id_);
581 surface_id_ = cc::SurfaceId(); 581 surface_id_ = cc::SurfaceId();
582 } 582 }
583 583
584 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { 584 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const {
585 return surface_id_; 585 return surface_id_;
586 }; 586 };
587 587
588 } // namespace content 588 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698