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 "base/bind_helpers.h" | 5 #include "base/bind_helpers.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 9 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
10 #include "content/browser/frame_host/render_widget_host_view_guest.h" | 10 #include "content/browser/frame_host/render_widget_host_view_guest.h" |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 ui::GestureRecognizer::Gestures* gestures) { | 567 ui::GestureRecognizer::Gestures* gestures) { |
568 if ((gestures == NULL) || gestures->empty()) | 568 if ((gestures == NULL) || gestures->empty()) |
569 return; | 569 return; |
570 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); | 570 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); |
571 g_it != gestures->end(); | 571 g_it != gestures->end(); |
572 ++g_it) { | 572 ++g_it) { |
573 ForwardGestureEventToRenderer(*g_it); | 573 ForwardGestureEventToRenderer(*g_it); |
574 } | 574 } |
575 } | 575 } |
576 | 576 |
| 577 SkBitmap::Config RenderWidgetHostViewGuest::PreferredReadbackFormat() { |
| 578 return SkBitmap::kARGB_8888_Config; |
| 579 } |
577 | 580 |
578 } // namespace content | 581 } // namespace content |
OLD | NEW |