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

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

Issue 2417693002: Allow MimeHandlerViewGuest be embedded inside OOPIFs (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/browser/accessibility/browser_accessibility_manager.h" 9 #include "content/browser/accessibility/browser_accessibility_manager.h"
10 #include "content/browser/gpu/gpu_data_manager_impl.h" 10 #include "content/browser/gpu/gpu_data_manager_impl.h"
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 } 456 }
457 457
458 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewGuest() { 458 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewGuest() {
459 return false; 459 return false;
460 } 460 }
461 461
462 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewChildFrame() { 462 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewChildFrame() {
463 return false; 463 return false;
464 } 464 }
465 465
466 RenderWidgetHostViewBase* RenderWidgetHostViewBase::GetOuterView() {
467 NOTREACHED();
468 return this;
469 }
470
466 void RenderWidgetHostViewBase::TextInputStateChanged( 471 void RenderWidgetHostViewBase::TextInputStateChanged(
467 const TextInputState& text_input_state) { 472 const TextInputState& text_input_state) {
468 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. 473 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms.
469 #if !defined(OS_ANDROID) 474 #if !defined(OS_ANDROID)
470 if (GetTextInputManager()) 475 if (GetTextInputManager())
471 GetTextInputManager()->UpdateTextInputState(this, text_input_state); 476 GetTextInputManager()->UpdateTextInputState(this, text_input_state);
472 #endif 477 #endif
473 } 478 }
474 479
475 void RenderWidgetHostViewBase::ImeCancelComposition() { 480 void RenderWidgetHostViewBase::ImeCancelComposition() {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 527
523 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { 528 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const {
524 return false; 529 return false;
525 } 530 }
526 531
527 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { 532 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const {
528 return cc::SurfaceId(); 533 return cc::SurfaceId();
529 } 534 }
530 535
531 } // namespace content 536 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698