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

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

Issue 1858063002: Remove Mac NPAPI things (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more build fixes Created 4 years, 8 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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 if (!frame_connector_) 462 if (!frame_connector_)
463 return point; 463 return point;
464 464
465 return frame_connector_->TransformPointToRootCoordSpace(point, surface_id_); 465 return frame_connector_->TransformPointToRootCoordSpace(point, surface_id_);
466 } 466 }
467 467
468 #if defined(OS_MACOSX) 468 #if defined(OS_MACOSX)
469 void RenderWidgetHostViewChildFrame::SetActive(bool active) { 469 void RenderWidgetHostViewChildFrame::SetActive(bool active) {
470 } 470 }
471 471
472 void RenderWidgetHostViewChildFrame::SetWindowVisibility(bool visible) {
473 }
474
475 void RenderWidgetHostViewChildFrame::WindowFrameChanged() {
476 }
477
478 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { 472 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() {
479 } 473 }
480 474
481 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const { 475 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const {
482 return false; 476 return false;
483 } 477 }
484 478
485 void RenderWidgetHostViewChildFrame::SpeakSelection() { 479 void RenderWidgetHostViewChildFrame::SpeakSelection() {
486 } 480 }
487 481
488 bool RenderWidgetHostViewChildFrame::IsSpeaking() const { 482 bool RenderWidgetHostViewChildFrame::IsSpeaking() const {
489 return false; 483 return false;
490 } 484 }
491 485
492 void RenderWidgetHostViewChildFrame::StopSpeaking() { 486 void RenderWidgetHostViewChildFrame::StopSpeaking() {
493 } 487 }
494
495 bool RenderWidgetHostViewChildFrame::PostProcessEventForPluginIme(
496 const NativeWebKeyboardEvent& event) {
497 return false;
498 }
499 #endif // defined(OS_MACOSX) 488 #endif // defined(OS_MACOSX)
500 489
501 void RenderWidgetHostViewChildFrame::RegisterFrameSwappedCallback( 490 void RenderWidgetHostViewChildFrame::RegisterFrameSwappedCallback(
502 scoped_ptr<base::Closure> callback) { 491 scoped_ptr<base::Closure> callback) {
503 frame_swapped_callbacks_.push_back(std::move(callback)); 492 frame_swapped_callbacks_.push_back(std::move(callback));
504 } 493 }
505 494
506 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( 495 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface(
507 const gfx::Rect& src_subrect, 496 const gfx::Rect& src_subrect,
508 const gfx::Size& output_size, 497 const gfx::Size& output_size,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 583
595 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { 584 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const {
596 return true; 585 return true;
597 } 586 }
598 587
599 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { 588 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const {
600 return surface_id_; 589 return surface_id_;
601 }; 590 };
602 591
603 } // namespace content 592 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698