Chromium Code Reviews| 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..1f5e8c06ffd863358ccf2406f810545ff03a8094 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; |
| } |
| @@ -35,6 +34,7 @@ class MockRenderProcess; |
| class RendererMainPlatformDelegate; |
| class RendererWebKitPlatformSupportImplNoSandboxImpl; |
| class RenderView; |
| +class PageState; |
|
Charlie Reis
2014/04/28 16:29:00
nit: Alphabetize.
Nate Chapin
2014/04/28 17:31:54
Done.
|
| class RenderViewTest : public testing::Test { |
| public: |
| @@ -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 |