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_aura.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 } | 740 } |
741 | 741 |
742 gfx::NativeViewAccessible RenderWidgetHostViewAura::GetNativeViewAccessible() { | 742 gfx::NativeViewAccessible RenderWidgetHostViewAura::GetNativeViewAccessible() { |
743 #if defined(OS_WIN) | 743 #if defined(OS_WIN) |
744 aura::WindowTreeHost* host = window_->GetHost(); | 744 aura::WindowTreeHost* host = window_->GetHost(); |
745 if (!host) | 745 if (!host) |
746 return static_cast<gfx::NativeViewAccessible>(NULL); | 746 return static_cast<gfx::NativeViewAccessible>(NULL); |
747 BrowserAccessibilityManager* manager = | 747 BrowserAccessibilityManager* manager = |
748 host_->GetOrCreateRootBrowserAccessibilityManager(); | 748 host_->GetOrCreateRootBrowserAccessibilityManager(); |
749 if (manager) | 749 if (manager) |
750 return manager->GetRoot()->ToBrowserAccessibilityWin(); | 750 return ToBrowserAccessibilityWin(manager->GetRoot()); |
751 #endif | 751 #endif |
752 | 752 |
753 NOTIMPLEMENTED(); | 753 NOTIMPLEMENTED(); |
754 return static_cast<gfx::NativeViewAccessible>(NULL); | 754 return static_cast<gfx::NativeViewAccessible>(NULL); |
755 } | 755 } |
756 | 756 |
757 ui::TextInputClient* RenderWidgetHostViewAura::GetTextInputClient() { | 757 ui::TextInputClient* RenderWidgetHostViewAura::GetTextInputClient() { |
758 return this; | 758 return this; |
759 } | 759 } |
760 | 760 |
(...skipping 2368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3129 | 3129 |
3130 //////////////////////////////////////////////////////////////////////////////// | 3130 //////////////////////////////////////////////////////////////////////////////// |
3131 // RenderWidgetHostViewBase, public: | 3131 // RenderWidgetHostViewBase, public: |
3132 | 3132 |
3133 // static | 3133 // static |
3134 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { | 3134 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { |
3135 GetScreenInfoForWindow(results, NULL); | 3135 GetScreenInfoForWindow(results, NULL); |
3136 } | 3136 } |
3137 | 3137 |
3138 } // namespace content | 3138 } // namespace content |
OLD | NEW |