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

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

Issue 164305: Ensure we don't load plugins on the IO thread (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "webkit/tools/test_shell/test_shell.h" 5 #include "webkit/tools/test_shell/test_shell.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <commdlg.h> 8 #include <commdlg.h>
9 #include <objbase.h> 9 #include <objbase.h>
10 #include <process.h> 10 #include <process.h>
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 break; 751 break;
752 } 752 }
753 753
754 return StringPiece(); 754 return StringPiece();
755 } 755 }
756 756
757 HCURSOR LoadCursor(int cursor_id) { 757 HCURSOR LoadCursor(int cursor_id) {
758 return NULL; 758 return NULL;
759 } 759 }
760 760
761 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { 761 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) {
762 return NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); 762 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins);
763 } 763 }
764 764
765 bool EnsureFontLoaded(HFONT font) { 765 bool EnsureFontLoaded(HFONT font) {
766 return true; 766 return true;
767 } 767 }
768 768
769 bool DownloadUrl(const std::string& url, HWND caller_window) { 769 bool DownloadUrl(const std::string& url, HWND caller_window) {
770 return false; 770 return false;
771 } 771 }
772 772
773 } // namespace webkit_glue 773 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_mac.mm ('k') | webkit/tools/test_shell/test_worker/test_worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698