| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
| 6 | 6 |
| 7 #include "content/browser/frame_host/cross_process_frame_connector.h" | 7 #include "content/browser/frame_host/cross_process_frame_connector.h" |
| 8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 8 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 9 #include "content/common/gpu/gpu_messages.h" | 9 #include "content/common/gpu/gpu_messages.h" |
| 10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 host_->WasShown(); | 134 host_->WasShown(); |
| 135 } | 135 } |
| 136 | 136 |
| 137 void RenderWidgetHostViewChildFrame::WasHidden() { | 137 void RenderWidgetHostViewChildFrame::WasHidden() { |
| 138 if (host_->is_hidden()) | 138 if (host_->is_hidden()) |
| 139 return; | 139 return; |
| 140 host_->WasHidden(); | 140 host_->WasHidden(); |
| 141 } | 141 } |
| 142 | 142 |
| 143 void RenderWidgetHostViewChildFrame::MovePluginWindows( | 143 void RenderWidgetHostViewChildFrame::MovePluginWindows( |
| 144 const gfx::Vector2d& scroll_offset, | |
| 145 const std::vector<WebPluginGeometry>& moves) { | 144 const std::vector<WebPluginGeometry>& moves) { |
| 146 } | 145 } |
| 147 | 146 |
| 148 void RenderWidgetHostViewChildFrame::Blur() { | 147 void RenderWidgetHostViewChildFrame::Blur() { |
| 149 } | 148 } |
| 150 | 149 |
| 151 void RenderWidgetHostViewChildFrame::UpdateCursor(const WebCursor& cursor) { | 150 void RenderWidgetHostViewChildFrame::UpdateCursor(const WebCursor& cursor) { |
| 152 } | 151 } |
| 153 | 152 |
| 154 void RenderWidgetHostViewChildFrame::SetIsLoading(bool is_loading) { | 153 void RenderWidgetHostViewChildFrame::SetIsLoading(bool is_loading) { |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 const { | 353 const { |
| 355 return NULL; | 354 return NULL; |
| 356 } | 355 } |
| 357 #endif // defined(OS_WIN) | 356 #endif // defined(OS_WIN) |
| 358 | 357 |
| 359 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 358 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
| 360 return SkBitmap::kARGB_8888_Config; | 359 return SkBitmap::kARGB_8888_Config; |
| 361 } | 360 } |
| 362 | 361 |
| 363 } // namespace content | 362 } // namespace content |
| OLD | NEW |