Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.cc

Issue 188633002: Query the preferred readback config in CopyFromBackingStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for test build issue. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698