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

Side by Side Diff: content/test/test_web_contents.h

Issue 2741313002: Renamed WasWithinSamePage to WasWithinSameDocument. (Closed)
Patch Set: Addressed review comments Created 3 years, 9 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 | « content/test/test_render_view_host.cc ('k') | content/test/test_web_contents.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_TEST_TEST_WEB_CONTENTS_H_ 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_H_
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_ 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 bool did_create_new_entry, 69 bool did_create_new_entry,
70 const GURL& url, 70 const GURL& url,
71 const Referrer& referrer, 71 const Referrer& referrer,
72 ui::PageTransition transition) override; 72 ui::PageTransition transition) override;
73 void TestDidNavigateWithSequenceNumber(RenderFrameHost* render_frame_host, 73 void TestDidNavigateWithSequenceNumber(RenderFrameHost* render_frame_host,
74 int nav_entry_id, 74 int nav_entry_id,
75 bool did_create_new_entry, 75 bool did_create_new_entry,
76 const GURL& url, 76 const GURL& url,
77 const Referrer& referrer, 77 const Referrer& referrer,
78 ui::PageTransition transition, 78 ui::PageTransition transition,
79 bool was_within_same_page, 79 bool was_within_same_document,
80 int item_sequence_number, 80 int item_sequence_number,
81 int document_sequence_number); 81 int document_sequence_number);
82 const std::string& GetSaveFrameHeaders() override; 82 const std::string& GetSaveFrameHeaders() override;
83 bool HasPendingDownloadImage(const GURL& url) override; 83 bool HasPendingDownloadImage(const GURL& url) override;
84 bool TestDidDownloadImage( 84 bool TestDidDownloadImage(
85 const GURL& url, 85 const GURL& url,
86 int http_status_code, 86 int http_status_code,
87 const std::vector<SkBitmap>& bitmaps, 87 const std::vector<SkBitmap>& bitmaps,
88 const std::vector<gfx::Size>& original_bitmap_sizes) override; 88 const std::vector<gfx::Size>& original_bitmap_sizes) override;
89 89
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 int expect_set_history_offset_and_length_history_length_; 175 int expect_set_history_offset_and_length_history_length_;
176 std::string save_frame_headers_; 176 std::string save_frame_headers_;
177 // Map keyed by image URL. Values are <id, callback> pairs. 177 // Map keyed by image URL. Values are <id, callback> pairs.
178 std::map<GURL, std::list<std::pair<int, ImageDownloadCallback>>> 178 std::map<GURL, std::list<std::pair<int, ImageDownloadCallback>>>
179 pending_image_downloads_; 179 pending_image_downloads_;
180 }; 180 };
181 181
182 } // namespace content 182 } // namespace content
183 183
184 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ 184 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698