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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1145463002: Plumb manifest fetching through WebTestDelegate interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | content/shell/renderer/layout_test/blink_test_runner.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 // 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_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void TestFinished() override; 102 void TestFinished() override;
103 void CloseRemainingWindows() override; 103 void CloseRemainingWindows() override;
104 void DeleteAllCookies() override; 104 void DeleteAllCookies() override;
105 int NavigationEntryCount() override; 105 int NavigationEntryCount() override;
106 void GoToOffset(int offset) override; 106 void GoToOffset(int offset) override;
107 void Reload() override; 107 void Reload() override;
108 void LoadURLForFrame(const blink::WebURL& url, 108 void LoadURLForFrame(const blink::WebURL& url,
109 const std::string& frame_name) override; 109 const std::string& frame_name) override;
110 bool AllowExternalPages() override; 110 bool AllowExternalPages() override;
111 std::string DumpHistoryForWindow(WebTestProxyBase* proxy) override; 111 std::string DumpHistoryForWindow(WebTestProxyBase* proxy) override;
112 void FetchManifest(
113 blink::WebView* view,
114 const GURL& url,
115 const base::Callback<void(const blink::WebURLResponse& response,
116 const std::string& data)>& callback) override;
112 void SetPermission(const std::string& name, 117 void SetPermission(const std::string& name,
113 const std::string& value, 118 const std::string& value,
114 const GURL& origin, 119 const GURL& origin,
115 const GURL& embedding_origin) override; 120 const GURL& embedding_origin) override;
116 void ResetPermissions() override; 121 void ResetPermissions() override;
117 blink::WebLayer* InstantiateWebLayer( 122 blink::WebLayer* InstantiateWebLayer(
118 scoped_refptr<cc::TextureLayer> layer) override; 123 scoped_refptr<cc::TextureLayer> layer) override;
119 cc::SharedBitmapManager* GetSharedBitmapManager() override; 124 cc::SharedBitmapManager* GetSharedBitmapManager() override;
120 125
121 void Reset(); 126 void Reset();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 165
161 scoped_ptr<LeakDetector> leak_detector_; 166 scoped_ptr<LeakDetector> leak_detector_;
162 bool needs_leak_detector_; 167 bool needs_leak_detector_;
163 168
164 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 169 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
165 }; 170 };
166 171
167 } // namespace content 172 } // namespace content
168 173
169 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 174 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698