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

Unified Diff: webkit/tools/test_shell/test_shell.h

Issue 200054: Hook up WebFrameClient, replacing many WebViewDelegate methods.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/tools/test_shell/plugin_tests.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.h
===================================================================
--- webkit/tools/test_shell/test_shell.h (revision 25715)
+++ webkit/tools/test_shell/test_shell.h (working copy)
@@ -147,8 +147,9 @@
return layout_test_controller_->AcceptsEditing();
}
- void LoadURL(const wchar_t* url);
- void LoadURLForFrame(const wchar_t* url, const wchar_t* frame_name);
+ void LoadFile(const FilePath& file);
+ void LoadURL(const GURL& url);
+ void LoadURLForFrame(const GURL& url, const std::wstring& frame_name);
void GoBackOrForward(int offset);
void Reload();
bool Navigate(const TestNavigationEntry& entry, bool reload);
@@ -166,7 +167,7 @@
static WindowList* windowList() { return window_list_; }
// If shell is non-null, then *shell is assigned upon successful return
- static bool CreateNewWindow(const std::wstring& startingURL,
+ static bool CreateNewWindow(const GURL& starting_url,
TestShell** shell = NULL);
static void DestroyWindow(gfx::NativeWindow windowHandle);
@@ -270,7 +271,8 @@
static StringPiece NetResourceProvider(int key);
protected:
- bool Initialize(const std::wstring& startingURL);
+ bool Initialize(const GURL& starting_url);
+ bool IsSVGTestURL(const GURL& url);
void SizeToSVG();
void SizeToDefault();
void SizeTo(int width, int height);
« no previous file with comments | « webkit/tools/test_shell/plugin_tests.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698