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

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

Issue 266013002: Remove HistoryController::GetPreviousEntry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase; remove browser half of quirk. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/translate/translate_helper_browsertest.cc ('k') | 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 5af0f6e43fd4fd25ea76f216f955ee6c906860e6..7f10ee864ac2bb836e30950dc3ab253a3f5a760a 100644
--- a/content/public/test/render_view_test.h
+++ b/content/public/test/render_view_test.h
@@ -13,6 +13,7 @@
#include "base/strings/string16.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "content/public/common/main_function_params.h"
+#include "content/public/common/page_state.h"
#include "content/public/test/mock_render_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/platform/Platform.h"
@@ -76,15 +77,14 @@ class RenderViewTest : public testing::Test {
// the navigation is committed.
void LoadHTML(const char* html);
+ // Returns the current PageState.
+ PageState GetCurrentPageState();
+
// Navigates the main frame back or forward in session history and commits.
// 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.
- void GoBackToPrevious();
-
// Sends one native key event over IPC.
void SendNativeKeyEvent(const NativeWebKeyboardEvent& key_event);
« no previous file with comments | « chrome/renderer/translate/translate_helper_browsertest.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698