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

Side by Side Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 5009: Fix some issues found looking at the code.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
« base/hmac_nss.cc ('K') | « chrome/views/table_view_unittest.cc ('k') | no next file » | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This file contains the implementation of TestWebViewDelegate, which serves 5 // This file contains the implementation of TestWebViewDelegate, which serves
6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to 6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to
7 // have initialized a MessageLoop before these methods are called. 7 // have initialized a MessageLoop before these methods are called.
8 8
9 #include "webkit/tools/test_shell/test_webview_delegate.h" 9 #include "webkit/tools/test_shell/test_webview_delegate.h"
10 10
11 #include <objidl.h> 11 #include <objidl.h>
12 #include <shlobj.h> 12 #include <shlobj.h>
13 #include <shlwapi.h>
13 14
14 #include "base/gfx/point.h" 15 #include "base/gfx/point.h"
15 #include "base/message_loop.h" 16 #include "base/message_loop.h"
16 #include "base/string_util.h" 17 #include "base/string_util.h"
17 #include "base/trace_event.h" 18 #include "base/trace_event.h"
18 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
19 #include "webkit/glue/webdatasource.h" 20 #include "webkit/glue/webdatasource.h"
20 #include "webkit/glue/webdropdata.h" 21 #include "webkit/glue/webdropdata.h"
21 #include "webkit/glue/weberror.h" 22 #include "webkit/glue/weberror.h"
22 #include "webkit/glue/webframe.h" 23 #include "webkit/glue/webframe.h"
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 else 907 else
907 return L"main frame"; 908 return L"main frame";
908 } else { 909 } else {
909 if (name.length()) 910 if (name.length())
910 return L"frame \"" + name + L"\""; 911 return L"frame \"" + name + L"\"";
911 else 912 else
912 return L"frame (anonymous)"; 913 return L"frame (anonymous)";
913 } 914 }
914 } 915 }
915 916
OLDNEW
« base/hmac_nss.cc ('K') | « chrome/views/table_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698