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

Unified Diff: content/test/test_render_frame.h

Issue 1425303002: OOPIF: Stop using HistoryController and refactor UpdateState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit Created 5 years, 1 month 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 | « content/test/layouttest_support.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_render_frame.h
diff --git a/content/test/test_render_frame.h b/content/test/test_render_frame.h
index f8020a1c69b877e2851f1f750054913eff3c3b4f..25519049761f5bc9d97768f87c3d9f2621c4e7d5 100644
--- a/content/test/test_render_frame.h
+++ b/content/test/test_render_frame.h
@@ -7,6 +7,10 @@
#include "content/renderer/render_frame_impl.h"
+namespace blink {
+class WebHistoryItem;
+}
+
namespace content {
class RenderViewImpl;
@@ -21,6 +25,10 @@ class TestRenderFrame : public RenderFrameImpl {
const RenderFrameImpl::CreateParams& params);
~TestRenderFrame() override;
+ const blink::WebHistoryItem& current_history_item() {
+ return current_history_item_;
+ }
+
void Navigate(const CommonNavigationParams& common_params,
const StartNavigationParams& start_params,
const RequestNavigationParams& request_params);
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698