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

Unified Diff: athena/content/web_activity.cc

Issue 603033002: Get FileSelect dialog work on athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: athena/content/web_activity.cc
diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc
index bdf2e41206ee81d64c376c9f13f5757a24028c64..506d635dd7e0672c97565b53d36f1b93b0bc253b 100644
--- a/athena/content/web_activity.cc
+++ b/athena/content/web_activity.cc
@@ -500,6 +500,10 @@ aura::Window* WebActivity::GetWindow() {
return !web_view_ ? NULL : web_view_->GetWidget()->GetNativeWindow();
}
+content::WebContents* WebActivity::GetWebContents() {
+ return !web_view_ ? NULL : web_view_->GetWebContents();
+}
+
void WebActivity::Init() {
DCHECK(web_view_);
web_view_->InstallAccelerators();

Powered by Google App Engine
This is Rietveld 408576698