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

Side by Side Diff: content/shell/webkit_test_controller.cc

Issue 19267016: Add a flag to allow renderer to use software compositor when GL compositor doesn't work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/common/shell_switches.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/shell/webkit_test_controller.h" 5 #include "content/shell/webkit_test_controller.h"
6 6
7 #include <iostream> 7 #include <iostream>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "content/public/browser/devtools_manager.h" 15 #include "content/public/browser/devtools_manager.h"
16 #include "content/public/browser/gpu_data_manager.h" 16 #include "content/public/browser/gpu_data_manager.h"
17 #include "content/public/browser/navigation_controller.h" 17 #include "content/public/browser/navigation_controller.h"
18 #include "content/public/browser/navigation_entry.h" 18 #include "content/public/browser/navigation_entry.h"
19 #include "content/public/browser/notification_service.h" 19 #include "content/public/browser/notification_service.h"
20 #include "content/public/browser/notification_types.h" 20 #include "content/public/browser/notification_types.h"
21 #include "content/public/browser/render_process_host.h" 21 #include "content/public/browser/render_process_host.h"
22 #include "content/public/browser/render_view_host.h" 22 #include "content/public/browser/render_view_host.h"
23 #include "content/public/browser/render_widget_host_view.h" 23 #include "content/public/browser/render_widget_host_view.h"
24 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
25 #include "content/public/browser/web_contents_view.h" 25 #include "content/public/browser/web_contents_view.h"
26 #include "content/public/common/content_switches.h"
26 #include "content/shell/common/shell_messages.h" 27 #include "content/shell/common/shell_messages.h"
27 #include "content/shell/common/shell_switches.h" 28 #include "content/shell/common/shell_switches.h"
28 #include "content/shell/common/webkit_test_helpers.h" 29 #include "content/shell/common/webkit_test_helpers.h"
29 #include "content/shell/shell.h" 30 #include "content/shell/shell.h"
30 #include "content/shell/shell_browser_context.h" 31 #include "content/shell/shell_browser_context.h"
31 #include "content/shell/shell_content_browser_client.h" 32 #include "content/shell/shell_content_browser_client.h"
32 #include "webkit/support/webkit_support_gfx.h" 33 #include "webkit/support/webkit_support_gfx.h"
33 34
34 namespace content { 35 namespace content {
35 36
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 } 621 }
621 base::MessageLoop::current()->RunUntilIdle(); 622 base::MessageLoop::current()->RunUntilIdle();
622 } 623 }
623 624
624 void WebKitTestController::OnResetDone() { 625 void WebKitTestController::OnResetDone() {
625 base::MessageLoop::current()->PostTask(FROM_HERE, 626 base::MessageLoop::current()->PostTask(FROM_HERE,
626 base::MessageLoop::QuitClosure()); 627 base::MessageLoop::QuitClosure());
627 } 628 }
628 629
629 } // namespace content 630 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/common/shell_switches.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698