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

Unified Diff: content/browser/web_contents/web_contents_view_guest.cc

Issue 13037003: permissionrequest API for guest Download. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge two CanDownload* functions. Created 7 years, 9 months 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
Index: content/browser/web_contents/web_contents_view_guest.cc
diff --git a/content/browser/web_contents/web_contents_view_guest.cc b/content/browser/web_contents/web_contents_view_guest.cc
index 088ebfdac3745ce22d6fe330b6b8521d22ff94fd..876f68492928fbf3dbe103388dfc01ff12f28e70 100644
--- a/content/browser/web_contents/web_contents_view_guest.cc
+++ b/content/browser/web_contents/web_contents_view_guest.cc
@@ -36,7 +36,7 @@ WebContentsViewGuest::~WebContentsViewGuest() {
}
gfx::NativeView WebContentsViewGuest::GetNativeView() const {
- return NULL;
+ return platform_view_->GetNativeView();
Fady Samuel 2013/03/26 15:34:34 Why is this necessary?
lazyboy 2013/03/26 16:04:36 The file dialog code path uses this.
}
gfx::NativeView WebContentsViewGuest::GetContentNativeView() const {

Powered by Google App Engine
This is Rietveld 408576698