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

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

Issue 246163006: Move history serialization from contet/public/renderer/ to content/renderer/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix braces Created 6 years, 7 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) 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 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual void setLocale(const std::string& locale) OVERRIDE; 100 virtual void setLocale(const std::string& locale) OVERRIDE;
101 virtual void testFinished() OVERRIDE; 101 virtual void testFinished() OVERRIDE;
102 virtual void closeRemainingWindows() OVERRIDE; 102 virtual void closeRemainingWindows() OVERRIDE;
103 virtual void deleteAllCookies() OVERRIDE; 103 virtual void deleteAllCookies() OVERRIDE;
104 virtual int navigationEntryCount() OVERRIDE; 104 virtual int navigationEntryCount() OVERRIDE;
105 virtual void goToOffset(int offset) OVERRIDE; 105 virtual void goToOffset(int offset) OVERRIDE;
106 virtual void reload() OVERRIDE; 106 virtual void reload() OVERRIDE;
107 virtual void loadURLForFrame(const blink::WebURL& url, 107 virtual void loadURLForFrame(const blink::WebURL& url,
108 const std::string& frame_name) OVERRIDE; 108 const std::string& frame_name) OVERRIDE;
109 virtual bool allowExternalPages() OVERRIDE; 109 virtual bool allowExternalPages() OVERRIDE;
110 virtual void captureHistoryForWindow( 110 virtual std::string dumpHistoryForWindow(WebTestProxyBase* proxy) OVERRIDE;
111 WebTestProxyBase* proxy,
112 blink::WebVector<blink::WebHistoryItem>* history,
113 size_t* currentEntryIndex) OVERRIDE;
114 111
115 void Reset(); 112 void Reset();
116 113
117 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; } 114 void set_proxy(WebTestProxyBase* proxy) { proxy_ = proxy; }
118 WebTestProxyBase* proxy() const { return proxy_; } 115 WebTestProxyBase* proxy() const { return proxy_; }
119 116
120 void ReportLeakDetectionResult(const LeakDetectionResult& result); 117 void ReportLeakDetectionResult(const LeakDetectionResult& result);
121 118
122 private: 119 private:
123 // Message handlers. 120 // Message handlers.
(...skipping 28 matching lines...) Expand all
152 149
153 scoped_ptr<LeakDetector> leak_detector_; 150 scoped_ptr<LeakDetector> leak_detector_;
154 bool needs_leak_detector_; 151 bool needs_leak_detector_;
155 152
156 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); 153 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
157 }; 154 };
158 155
159 } // namespace content 156 } // namespace content
160 157
161 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 158 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebTestProxy.cpp ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698