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

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

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of ForEachFrameAndPendingFrame Created 6 years, 6 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 | Annotate | Revision Log
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 "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/gpu/gpu_data_manager_impl.h" 9 #include "content/browser/gpu/gpu_data_manager_impl.h"
10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 478
479 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) { 479 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) {
480 popup_type_ = popup_type; 480 popup_type_ = popup_type;
481 } 481 }
482 482
483 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() { 483 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() {
484 return popup_type_; 484 return popup_type_;
485 } 485 }
486 486
487 BrowserAccessibilityManager* 487 BrowserAccessibilityManager*
488 RenderWidgetHostViewBase::GetBrowserAccessibilityManager() const { 488 RenderWidgetHostViewBase::CreateBrowserAccessibilityManager(
489 return browser_accessibility_manager_.get(); 489 BrowserAccessibilityDelegate* delegate) {
490 NOTREACHED();
491 return NULL;
490 } 492 }
491 493
492 void RenderWidgetHostViewBase::CreateBrowserAccessibilityManagerIfNeeded() { 494 void RenderWidgetHostViewBase::AccessibilityShowMenu(const gfx::Point& point) {
493 }
494
495 void RenderWidgetHostViewBase::SetBrowserAccessibilityManager(
496 BrowserAccessibilityManager* manager) {
497 browser_accessibility_manager_.reset(manager);
498 }
499
500 void RenderWidgetHostViewBase::OnAccessibilitySetFocus(int acc_obj_id) {
501 }
502
503 void RenderWidgetHostViewBase::AccessibilityShowMenu(int acc_obj_id) {
504 } 495 }
505 496
506 gfx::Point RenderWidgetHostViewBase::AccessibilityOriginInScreen( 497 gfx::Point RenderWidgetHostViewBase::AccessibilityOriginInScreen(
507 const gfx::Rect& bounds) { 498 const gfx::Rect& bounds) {
508 return bounds.origin(); 499 return bounds.origin();
509 } 500 }
510 501
511 void RenderWidgetHostViewBase::UpdateScreenInfo(gfx::NativeView view) { 502 void RenderWidgetHostViewBase::UpdateScreenInfo(gfx::NativeView view) {
512 RenderWidgetHostImpl* impl = NULL; 503 RenderWidgetHostImpl* impl = NULL;
513 if (GetRenderWidgetHost()) 504 if (GetRenderWidgetHost())
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 593
603 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const { 594 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const {
604 return GetViewBounds().size(); 595 return GetViewBounds().size();
605 } 596 }
606 597
607 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) { 598 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) {
608 NOTIMPLEMENTED(); 599 NOTIMPLEMENTED();
609 } 600 }
610 601
611 } // namespace content 602 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698