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

Side by Side Diff: content/shell/renderer/webkit_test_runner.cc

Issue 19620002: Use a direct include of the message_loop header in content/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/geolocation/shell_access_token_store.cc ('k') | content/shell/shell.cc » ('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/renderer/webkit_test_runner.h" 5 #include "content/shell/renderer/webkit_test_runner.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <clocale> 8 #include <clocale>
9 #include <cmath> 9 #include <cmath>
10 10
11 #include "base/base64.h" 11 #include "base/base64.h"
12 #include "base/debug/debugger.h" 12 #include "base/debug/debugger.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/md5.h" 14 #include "base/md5.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
19 #include "base/strings/sys_string_conversions.h" 19 #include "base/strings/sys_string_conversions.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "content/public/renderer/history_item_serialization.h" 22 #include "content/public/renderer/history_item_serialization.h"
23 #include "content/public/renderer/render_view.h" 23 #include "content/public/renderer/render_view.h"
24 #include "content/public/renderer/render_view_visitor.h" 24 #include "content/public/renderer/render_view_visitor.h"
25 #include "content/public/test/layouttest_support.h" 25 #include "content/public/test/layouttest_support.h"
26 #include "content/shell/common/shell_messages.h" 26 #include "content/shell/common/shell_messages.h"
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 ->loadRequest(WebURLRequest(GURL("about:blank"))); 669 ->loadRequest(WebURLRequest(GURL("about:blank")));
670 Send(new ShellViewHostMsg_ResetDone(routing_id())); 670 Send(new ShellViewHostMsg_ResetDone(routing_id()));
671 } 671 }
672 672
673 void WebKitTestRunner::OnNotifyDone() { 673 void WebKitTestRunner::OnNotifyDone() {
674 render_view()->GetWebView()->mainFrame()->executeScript( 674 render_view()->GetWebView()->mainFrame()->executeScript(
675 WebScriptSource(WebString::fromUTF8("testRunner.notifyDone();"))); 675 WebScriptSource(WebString::fromUTF8("testRunner.notifyDone();")));
676 } 676 }
677 677
678 } // namespace content 678 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/geolocation/shell_access_token_store.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698