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

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

Issue 501583003: Move external popup menus from WebViewClient to WebFrameClient, part 3/3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixin Created 6 years, 4 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/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 edcfccf20fda8209df7d3242edc1fb65f75c55b3..1211e7e865fec070dcf204cd7df0b82725e0d1fa 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -28,7 +28,9 @@ class WindowAndroid;
}
namespace content {
+
class GinJavaBridgeDispatcherHost;
+class RenderFrameHost;
class RenderWidgetHostViewAndroid;
struct MenuItem;
@@ -78,7 +80,9 @@ class ContentViewCoreImpl : public ContentViewCore,
// Notifies the ContentViewCore that items were selected in the currently
// showing select popup.
- void SelectPopupMenuItems(JNIEnv* env, jobject obj, jintArray indices);
+ void SelectPopupMenuItems(JNIEnv* env, jobject obj,
+ jlong selectPopupSourceFrame,
+ jintArray indices);
void LoadUrl(
JNIEnv* env, jobject obj,
@@ -216,7 +220,8 @@ class ContentViewCoreImpl : public ContentViewCore,
// |multiple| defines if it should support multi-select.
// If not |multiple|, |selected_item| sets the initially selected item.
// Otherwise, item's "checked" flag selects it.
- void ShowSelectPopupMenu(const gfx::Rect& bounds,
+ void ShowSelectPopupMenu(RenderFrameHost* frame,
+ const gfx::Rect& bounds,
const std::vector<MenuItem>& items,
int selected_item,
bool multiple);

Powered by Google App Engine
This is Rietveld 408576698