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

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

Issue 2658293002: content: Remove Lock/Unlock CompositingSurface API from RWH. (Closed)
Patch Set: last_frame_info Created 3 years, 10 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_guest.h" 5 #include "content/browser/frame_host/render_widget_host_view_guest.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 481
482 bool RenderWidgetHostViewGuest::IsSpeaking() const { 482 bool RenderWidgetHostViewGuest::IsSpeaking() const {
483 return platform_view_->IsSpeaking(); 483 return platform_view_->IsSpeaking();
484 } 484 }
485 485
486 void RenderWidgetHostViewGuest::StopSpeaking() { 486 void RenderWidgetHostViewGuest::StopSpeaking() {
487 platform_view_->StopSpeaking(); 487 platform_view_->StopSpeaking();
488 } 488 }
489 #endif // defined(OS_MACOSX) 489 #endif // defined(OS_MACOSX)
490 490
491 void RenderWidgetHostViewGuest::LockCompositingSurface() {
492 NOTIMPLEMENTED();
493 }
494
495 void RenderWidgetHostViewGuest::UnlockCompositingSurface() {
496 NOTIMPLEMENTED();
497 }
498
499 RenderWidgetHostViewBase* 491 RenderWidgetHostViewBase*
500 RenderWidgetHostViewGuest::GetOwnerRenderWidgetHostView() const { 492 RenderWidgetHostViewGuest::GetOwnerRenderWidgetHostView() const {
501 return guest_ ? static_cast<RenderWidgetHostViewBase*>( 493 return guest_ ? static_cast<RenderWidgetHostViewBase*>(
502 guest_->GetOwnerRenderWidgetHostView()) 494 guest_->GetOwnerRenderWidgetHostView())
503 : nullptr; 495 : nullptr;
504 } 496 }
505 497
506 // TODO(wjmaclean): When we remove BrowserPlugin, delete this code. 498 // TODO(wjmaclean): When we remove BrowserPlugin, delete this code.
507 // http://crbug.com/533069 499 // http://crbug.com/533069
508 void RenderWidgetHostViewGuest::MaybeSendSyntheticTapGesture( 500 void RenderWidgetHostViewGuest::MaybeSendSyntheticTapGesture(
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 gesture_event.data.scrollUpdate.inertialPhase == 639 gesture_event.data.scrollUpdate.inertialPhase ==
648 blink::WebGestureEvent::MomentumPhase) { 640 blink::WebGestureEvent::MomentumPhase) {
649 return; 641 return;
650 } 642 }
651 host_->ForwardGestureEvent(gesture_event); 643 host_->ForwardGestureEvent(gesture_event);
652 return; 644 return;
653 } 645 }
654 } 646 }
655 647
656 } // namespace content 648 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.h ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698