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

Unified Diff: content/public/test/render_view_test.h

Issue 248013003: Remove WebHistoryItem child usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar comments Created 6 years, 8 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 | « no previous file | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.h
diff --git a/content/public/test/render_view_test.h b/content/public/test/render_view_test.h
index 8582bb6087597f191890412c7357ba6295b5e86b..5af0f6e43fd4fd25ea76f216f955ee6c906860e6 100644
--- a/content/public/test/render_view_test.h
+++ b/content/public/test/render_view_test.h
@@ -19,7 +19,6 @@
#include "third_party/WebKit/public/web/WebFrame.h"
namespace blink {
-class WebHistoryItem;
class WebWidget;
}
@@ -32,6 +31,7 @@ class ContentBrowserClient;
class ContentClient;
class ContentRendererClient;
class MockRenderProcess;
+class PageState;
class RendererMainPlatformDelegate;
class RendererWebKitPlatformSupportImplNoSandboxImpl;
class RenderView;
@@ -77,10 +77,9 @@ class RenderViewTest : public testing::Test {
void LoadHTML(const char* html);
// Navigates the main frame back or forward in session history and commits.
- // The caller must capture a WebHistoryItem for the target page. This is
- // available from the WebFrame.
- void GoBack(const blink::WebHistoryItem& item);
- void GoForward(const blink::WebHistoryItem& item);
+ // The caller must capture a PageState for the target page.
+ void GoBack(const PageState& state);
+ void GoForward(const PageState& state);
// Navigates the main frame back to whatever is considered the previous
// history entry internally.
@@ -159,7 +158,7 @@ class RenderViewTest : public testing::Test {
#endif
private:
- void GoToOffset(int offset, const blink::WebHistoryItem& history_item);
+ void GoToOffset(int offset, const PageState& state);
};
} // namespace content
« no previous file with comments | « no previous file | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698