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

Issue 5698005: Add support for gcf:about:plugins in chrome frame full tab mode. The URL vali... (Closed)

Created:
10 years ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
amit
CC:
chromium-reviews, amit, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add support for gcf:about:plugins in chrome frame full tab mode. The URL validation code path in ChromeFrame now takes in an interface NavigationConstraints which allows the delegateslike the ActiveX, ActiveDocument and the NPAPI plugins to control the navigation decisions. We no longer refer to the InternetSecurityManager interface which is IE only for performing zone decisions in the ChromeFrame NPAPI plugin. Fixes bug http://code.google.com/p/chromium/issues/detail?id=66118 BUG=66118 TEST=Covered by additional CanNavigate unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69101

Patch Set 1 #

Total comments: 13

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 8

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -120 lines) Patch
M chrome_frame/chrome_active_document.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome_frame/chrome_active_document.cc View 1 2 3 4 5 6 2 chunks +13 lines, -1 line 0 comments Download
M chrome_frame/chrome_frame.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome_frame/chrome_frame_activex_base.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +18 lines, -6 lines 0 comments Download
M chrome_frame/chrome_frame_automation.h View 1 2 3 4 5 6 2 chunks +6 lines, -3 lines 0 comments Download
M chrome_frame/chrome_frame_automation.cc View 1 2 3 4 5 6 4 chunks +6 lines, -13 lines 0 comments Download
M chrome_frame/chrome_frame_npapi.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M chrome_frame/chrome_frame_npapi.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome_frame/external_tab.h View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M chrome_frame/external_tab.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M chrome_frame/external_tab_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -2 lines 0 comments Download
A chrome_frame/navigation_constraints.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +37 lines, -0 lines 0 comments Download
A chrome_frame/navigation_constraints.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +69 lines, -0 lines 0 comments Download
M chrome_frame/test/automation_client_mock.cc View 1 2 3 4 5 6 7 8 8 chunks +13 lines, -6 lines 0 comments Download
M chrome_frame/test/util_unittests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +145 lines, -51 lines 0 comments Download
M chrome_frame/utils.h View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M chrome_frame/utils.cc View 1 2 3 4 5 6 2 chunks +14 lines, -25 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ananta
10 years ago (2010-12-10 23:37:20 UTC) #1
amit
very nice... http://codereview.chromium.org/5698005/diff/1/chrome_frame/chrome_active_document.h File chrome_frame/chrome_active_document.h (right): http://codereview.chromium.org/5698005/diff/1/chrome_frame/chrome_active_document.h#newcode212 chrome_frame/chrome_active_document.h:212: public IMonikerProp { Please get rid of ...
10 years ago (2010-12-10 23:56:17 UTC) #2
ananta
http://codereview.chromium.org/5698005/diff/1/chrome_frame/chrome_active_document.h File chrome_frame/chrome_active_document.h (right): http://codereview.chromium.org/5698005/diff/1/chrome_frame/chrome_active_document.h#newcode212 chrome_frame/chrome_active_document.h:212: public IMonikerProp { On 2010/12/10 23:56:17, amit wrote: > ...
10 years ago (2010-12-11 02:11:11 UTC) #3
amit
lgtm http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unittests.cc File chrome_frame/test/util_unittests.cc (right): http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unittests.cc#newcode246 chrome_frame/test/util_unittests.cc:246: MOCK_METHOD1(IsSchemeAllowed, bool(const GURL&url)); nit: spacing around & http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unittests.cc#newcode258 ...
10 years ago (2010-12-13 23:45:27 UTC) #4
ananta
10 years ago (2010-12-14 00:36:27 UTC) #5
http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unit...
File chrome_frame/test/util_unittests.cc (right):

http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unit...
chrome_frame/test/util_unittests.cc:246: MOCK_METHOD1(IsSchemeAllowed,
bool(const GURL&url));
On 2010/12/13 23:45:27, amit wrote:
> nit: spacing around &

Done.

http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unit...
chrome_frame/test/util_unittests.cc:258: url_prefix, false))
On 2010/12/13 23:45:27, amit wrote:
> nit: fits on the line above

Done.

http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unit...
chrome_frame/test/util_unittests.cc:335: char *urls[] = {
On 2010/12/13 23:45:27, amit wrote:
> would it make sense to use the same 'test_cases' list from the above in these
> tests as well?

Done.

http://codereview.chromium.org/5698005/diff/44003/chrome_frame/test/util_unit...
chrome_frame/test/util_unittests.cc:377: TEST_F(UtilTests,
CanNavigateTestAllowAllUnsafeUrs) {
On 2010/12/13 23:45:27, amit wrote:
> nit:CanNavigateTestAllowAllUnsafeUr'l's

Done.

Powered by Google App Engine
This is Rietveld 408576698