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

Issue 3174027: Clean up the way top level navigations are handled in ChromeFrame and reporte... (Closed)

Created:
10 years, 4 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
Lei Zhang, amit
CC:
chromium-reviews, amit, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Clean up the way top level navigations are handled in ChromeFrame and reported back to the host browser. We no longer have a counter which tracks the last page id. Top level navigations are reported back if the current frame does not have an opener or if the origins don't match. The other conditions remain the same i.e reloads/back forwards and posts don't make it to the host browser and are treated as internal navigations. This fixes bug http://code.google.com/p/chromium/issues/detail?id=52931 Disabled the navigate out chrome frame test as this needs to be fixed to propertly detect navigations coming out of chrome frame. Bug=52931 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57117

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -32 lines) Patch
M chrome/renderer/render_view.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 chunks +14 lines, -27 lines 0 comments Download
M chrome_frame/test/navigation_test.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome_frame/test/test_with_web_server.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
ananta
10 years, 4 months ago (2010-08-21 01:31:20 UTC) #1
amit
http://codereview.chromium.org/3174027/diff/7001/8001 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/3174027/diff/7001/8001#newcode5475 chrome/renderer/render_view.cc:5475: if (!url.ref().empty()) This will keep it in Chrome for ...
10 years, 4 months ago (2010-08-23 16:07:48 UTC) #2
ananta
http://codereview.chromium.org/3174027/diff/7001/8001 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/3174027/diff/7001/8001#newcode5475 chrome/renderer/render_view.cc:5475: if (!url.ref().empty()) On 2010/08/23 16:07:48, amit wrote: > This ...
10 years, 4 months ago (2010-08-23 18:02:17 UTC) #3
amit
lgtm. We really need a few good tests to make sure this works as intended.
10 years, 4 months ago (2010-08-23 18:21:31 UTC) #4
Lei Zhang
10 years, 4 months ago (2010-08-23 23:38:47 UTC) #5
Did you forget to commit chrome_frame/test/navigation_test.cc ?

Powered by Google App Engine
This is Rietveld 408576698