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

Unified Diff: chrome_frame/external_tab.cc

Issue 5698005: Add support for gcf:about:plugins in chrome frame full tab mode. The URL vali... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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_frame/external_tab.h ('k') | chrome_frame/external_tab_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/external_tab.cc
===================================================================
--- chrome_frame/external_tab.cc (revision 68895)
+++ chrome_frame/external_tab.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/task.h"
#include "base/waitable_event.h"
#include "chrome/common/automation_messages.h"
+#include "chrome_frame/chrome_frame_delegate.h"
#include "chrome_frame/utils.h"
DISABLE_RUNNABLE_METHOD_REFCOUNT(ExternalTabProxy);
@@ -121,11 +122,12 @@
}
void ExternalTabProxy::Navigate(const std::string& url,
- const std::string& referrer, bool is_privileged) {
+ const std::string& referrer,
+ NavigationConstraints* navigation_constraints) {
// in ui thread
// Catch invalid URLs early. Can we allow this navigation to happen?
GURL parsed_url(url);
- if (!CanNavigate(parsed_url, security_manager_, is_privileged)) {
+ if (!CanNavigate(parsed_url, navigation_constraints)) {
DLOG(ERROR) << __FUNCTION__ << " Not allowing navigation to: " << url;
return;
}
« no previous file with comments | « chrome_frame/external_tab.h ('k') | chrome_frame/external_tab_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698