diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-24 08:16:58 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-24 08:16:58 +0000 |
commit | 3027cf00745e50a1c8ea4f00e7778db3067cfb83 (patch) | |
tree | 1fa090800127d6f565395fc3275ce02208442c56 /chrome/browser/sessions | |
parent | 92bb14266f58bc16187b3cb1baba20ac0b3e4501 (diff) | |
download | chromium_src-3027cf00745e50a1c8ea4f00e7778db3067cfb83.zip chromium_src-3027cf00745e50a1c8ea4f00e7778db3067cfb83.tar.gz chromium_src-3027cf00745e50a1c8ea4f00e7778db3067cfb83.tar.bz2 |
Add "frame to navigate" to NavigationEntry and plumb it to the RenderViewImpl
This allows for navigating a specific frame from the browser. This is required
for running layout tests.
BUG=171391
TEST=RenderViewImplTest.NavigateFrame
R=creis@chromium.org,tsepez@chromium.org
Review URL: https://codereview.chromium.org/12052023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178552 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions')
-rw-r--r-- | chrome/browser/sessions/session_types.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/sessions/session_types.cc b/chrome/browser/sessions/session_types.cc index 59afc34..f4e7e03 100644 --- a/chrome/browser/sessions/session_types.cc +++ b/chrome/browser/sessions/session_types.cc @@ -48,6 +48,9 @@ TabNavigation TabNavigation::FromNavigationEntry( navigation.original_request_url_ = entry.GetOriginalRequestURL(); navigation.is_overriding_user_agent_ = entry.GetIsOverridingUserAgent(); navigation.timestamp_ = entry.GetTimestamp(); + // If you want to navigate a named frame in Chrome, you will first need to + // add support for persisting it. It is currently only used for layout tests. + CHECK(entry.GetFrameToNavigate().empty()); return navigation; } |