| 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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 | 595 |
| 596 void RenderWidgetHostViewBase::FlushInput() { | 596 void RenderWidgetHostViewBase::FlushInput() { |
| 597 RenderWidgetHostImpl* impl = NULL; | 597 RenderWidgetHostImpl* impl = NULL; |
| 598 if (GetRenderWidgetHost()) | 598 if (GetRenderWidgetHost()) |
| 599 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); | 599 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); |
| 600 if (!impl) | 600 if (!impl) |
| 601 return; | 601 return; |
| 602 impl->FlushInput(); | 602 impl->FlushInput(); |
| 603 } | 603 } |
| 604 | 604 |
| 605 SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() { |
| 606 return SkBitmap::kARGB_8888_Config; |
| 607 } |
| 608 |
| 605 } // namespace content | 609 } // namespace content |
| OLD | NEW |