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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 10916160: Upstreaming SelectFileDialog for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index adc40f3bb9586fda077c6ce938c49e0428e27845..6c6119d7b2f96655600b9e1dd3d2b3a40b36b028 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -24,6 +24,10 @@
struct WebMenuItem;
+namespace ui {
+class WindowAndroid;
+}
+
namespace content {
class ContentViewClient;
class RenderWidgetHostViewAndroid;
@@ -36,7 +40,8 @@ class ContentViewCoreImpl : public ContentViewCore,
jobject obj,
bool hardware_accelerated,
bool take_ownership_of_web_contents,
- WebContents* web_contents);
+ WebContents* web_contents,
+ ui::WindowAndroid* window_android);
// ContentViewCore overrides
virtual void Destroy(JNIEnv* env, jobject obj) OVERRIDE;
@@ -172,6 +177,7 @@ class ContentViewCoreImpl : public ContentViewCore,
WebContents* web_contents() const { return web_contents_; }
virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE;
+ virtual ui::WindowAndroid* GetWindowAndroid() OVERRIDE;
private:
// NotificationObserver implementation.
@@ -216,6 +222,9 @@ class ContentViewCoreImpl : public ContentViewCore,
// Whether the renderer backing this ContentViewCore has crashed.
bool tab_crashed_;
+ // The owning window that has a hold of main application activity.
+ ui::WindowAndroid* window_android_;
+
DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
};
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698