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 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 } | 1064 } |
1065 | 1065 |
1066 void RenderWidgetHostViewAura::ClearCompositorFrame() { | 1066 void RenderWidgetHostViewAura::ClearCompositorFrame() { |
1067 delegated_frame_host_->ClearDelegatedFrame(); | 1067 delegated_frame_host_->ClearDelegatedFrame(); |
1068 } | 1068 } |
1069 | 1069 |
1070 void RenderWidgetHostViewAura::DidStopFlinging() { | 1070 void RenderWidgetHostViewAura::DidStopFlinging() { |
1071 selection_controller_client_->OnScrollCompleted(); | 1071 selection_controller_client_->OnScrollCompleted(); |
1072 } | 1072 } |
1073 | 1073 |
1074 #if defined(OS_WIN) | |
1075 void RenderWidgetHostViewAura::SetParentNativeViewAccessible( | |
1076 gfx::NativeViewAccessible accessible_parent) { | |
1077 } | |
1078 #endif | |
1079 | |
1080 bool RenderWidgetHostViewAura::HasAcceleratedSurface( | 1074 bool RenderWidgetHostViewAura::HasAcceleratedSurface( |
1081 const gfx::Size& desired_size) { | 1075 const gfx::Size& desired_size) { |
1082 // Aura doesn't use GetBackingStore for accelerated pages, so it doesn't | 1076 // Aura doesn't use GetBackingStore for accelerated pages, so it doesn't |
1083 // matter what is returned here as GetBackingStore is the only caller of this | 1077 // matter what is returned here as GetBackingStore is the only caller of this |
1084 // method. TODO(jbates) implement this if other Aura code needs it. | 1078 // method. TODO(jbates) implement this if other Aura code needs it. |
1085 return false; | 1079 return false; |
1086 } | 1080 } |
1087 | 1081 |
1088 void RenderWidgetHostViewAura::GetScreenInfo(WebScreenInfo* results) { | 1082 void RenderWidgetHostViewAura::GetScreenInfo(WebScreenInfo* results) { |
1089 GetScreenInfoForWindow(results, window_->GetRootWindow() ? window_ : NULL); | 1083 GetScreenInfoForWindow(results, window_->GetRootWindow() ? window_ : NULL); |
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2930 | 2924 |
2931 //////////////////////////////////////////////////////////////////////////////// | 2925 //////////////////////////////////////////////////////////////////////////////// |
2932 // RenderWidgetHostViewBase, public: | 2926 // RenderWidgetHostViewBase, public: |
2933 | 2927 |
2934 // static | 2928 // static |
2935 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { | 2929 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { |
2936 GetScreenInfoForWindow(results, NULL); | 2930 GetScreenInfoForWindow(results, NULL); |
2937 } | 2931 } |
2938 | 2932 |
2939 } // namespace content | 2933 } // namespace content |
OLD | NEW |