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

Side by Side Diff: webkit/tools/test_shell/test_shell.h

Issue 5591004: glue: use string16 in place of wstring for Unicode text (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 10 years 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 | « webkit/glue/webkit_glue.cc ('k') | webkit/tools/test_shell/test_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 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 } 208 }
209 209
210 void LoadFile(const FilePath& file); 210 void LoadFile(const FilePath& file);
211 void LoadURL(const GURL& url); 211 void LoadURL(const GURL& url);
212 void LoadURLForFrame(const GURL& url, const std::wstring& frame_name); 212 void LoadURLForFrame(const GURL& url, const std::wstring& frame_name);
213 void GoBackOrForward(int offset); 213 void GoBackOrForward(int offset);
214 void Reload(); 214 void Reload();
215 bool Navigate(const TestNavigationEntry& entry, bool reload); 215 bool Navigate(const TestNavigationEntry& entry, bool reload);
216 216
217 bool PromptForSaveFile(const wchar_t* prompt_title, FilePath* result); 217 bool PromptForSaveFile(const wchar_t* prompt_title, FilePath* result);
218 std::wstring GetDocumentText(); 218 string16 GetDocumentText();
219 void DumpDocumentText(); 219 void DumpDocumentText();
220 void DumpRenderTree(); 220 void DumpRenderTree();
221 221
222 gfx::NativeWindow mainWnd() const { return m_mainWnd; } 222 gfx::NativeWindow mainWnd() const { return m_mainWnd; }
223 gfx::NativeView webViewWnd() const { return m_webViewHost->view_handle(); } 223 gfx::NativeView webViewWnd() const { return m_webViewHost->view_handle(); }
224 gfx::NativeEditView editWnd() const { return m_editWnd; } 224 gfx::NativeEditView editWnd() const { return m_editWnd; }
225 gfx::NativeView popupWnd() const { return m_popupHost->view_handle(); } 225 gfx::NativeView popupWnd() const { return m_popupHost->view_handle(); }
226 226
227 static WindowList* windowList() { return window_list_; } 227 static WindowList* windowList() { return window_list_; }
228 228
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 #if defined(OS_WIN) 497 #if defined(OS_WIN)
498 // Used by the watchdog to know when it's finished. 498 // Used by the watchdog to know when it's finished.
499 HANDLE finished_event_; 499 HANDLE finished_event_;
500 #endif 500 #endif
501 501
502 // Dump the stats table counters on exit. 502 // Dump the stats table counters on exit.
503 bool dump_stats_table_on_exit_; 503 bool dump_stats_table_on_exit_;
504 }; 504 };
505 505
506 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ 506 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698