Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 474 | 474 |
| 475 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) { | 475 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) { |
| 476 popup_type_ = popup_type; | 476 popup_type_ = popup_type; |
| 477 } | 477 } |
| 478 | 478 |
| 479 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() { | 479 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() { |
| 480 return popup_type_; | 480 return popup_type_; |
| 481 } | 481 } |
| 482 | 482 |
| 483 BrowserAccessibilityManager* | 483 BrowserAccessibilityManager* |
| 484 RenderWidgetHostViewBase::GetBrowserAccessibilityManager() const { | 484 RenderWidgetHostViewBase::CreateBrowserAccessibilityManager( |
|
ncarter (slow)
2014/05/28 00:50:11
Indentation is off.
dmazzoni
2014/05/28 22:01:17
Done.
| |
| 485 return browser_accessibility_manager_.get(); | 485 BrowserAccessibilityDelegate* delegate) { |
| 486 NOTREACHED(); | |
| 487 return NULL; | |
| 486 } | 488 } |
| 487 | 489 |
| 488 void RenderWidgetHostViewBase::CreateBrowserAccessibilityManagerIfNeeded() { | 490 void RenderWidgetHostViewBase::AccessibilityShowMenu(const gfx::Point& point) { |
| 489 } | |
| 490 | |
| 491 void RenderWidgetHostViewBase::SetBrowserAccessibilityManager( | |
| 492 BrowserAccessibilityManager* manager) { | |
| 493 browser_accessibility_manager_.reset(manager); | |
| 494 } | |
| 495 | |
| 496 void RenderWidgetHostViewBase::OnAccessibilitySetFocus(int acc_obj_id) { | |
| 497 } | |
| 498 | |
| 499 void RenderWidgetHostViewBase::AccessibilityShowMenu(int acc_obj_id) { | |
| 500 } | 491 } |
| 501 | 492 |
| 502 gfx::Point RenderWidgetHostViewBase::AccessibilityOriginInScreen( | 493 gfx::Point RenderWidgetHostViewBase::AccessibilityOriginInScreen( |
| 503 const gfx::Rect& bounds) { | 494 const gfx::Rect& bounds) { |
| 504 return bounds.origin(); | 495 return bounds.origin(); |
| 505 } | 496 } |
| 506 | 497 |
| 507 void RenderWidgetHostViewBase::UpdateScreenInfo(gfx::NativeView view) { | 498 void RenderWidgetHostViewBase::UpdateScreenInfo(gfx::NativeView view) { |
| 508 RenderWidgetHostImpl* impl = NULL; | 499 RenderWidgetHostImpl* impl = NULL; |
| 509 if (GetRenderWidgetHost()) | 500 if (GetRenderWidgetHost()) |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 598 | 589 |
| 599 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const { | 590 gfx::Size RenderWidgetHostViewBase::GetVisibleViewportSize() const { |
| 600 return GetViewBounds().size(); | 591 return GetViewBounds().size(); |
| 601 } | 592 } |
| 602 | 593 |
| 603 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) { | 594 void RenderWidgetHostViewBase::SetInsets(const gfx::Insets& insets) { |
| 604 NOTIMPLEMENTED(); | 595 NOTIMPLEMENTED(); |
| 605 } | 596 } |
| 606 | 597 |
| 607 } // namespace content | 598 } // namespace content |
| OLD | NEW |