Chromium Code Reviews| Index: content/renderer/external_popup_menu.h |
| diff --git a/content/renderer/external_popup_menu.h b/content/renderer/external_popup_menu.h |
| index bdc9aae6187e3e88107f639a08c229490a725fc8..330bc9464efdedf33d005e7f5ddf19f336229c60 100644 |
| --- a/content/renderer/external_popup_menu.h |
| +++ b/content/renderer/external_popup_menu.h |
| @@ -1,10 +1,12 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ |
| #define CONTENT_RENDERER_EXTERNAL_POPUP_MENU_H_ |
| +#include <vector> |
| + |
| #include "base/basictypes.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebExternalPopupMenu.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" |
| @@ -26,6 +28,11 @@ class ExternalPopupMenu : public WebKit::WebExternalPopupMenu { |
| // user canceled the popup. |
| void DidSelectItem(int selected_index); |
|
Avi (use Gerrit)
2012/05/24 18:41:41
Again, if we mark one for a platform, mark them al
aruslan
2012/05/24 19:53:15
Done.
|
| +#if defined(OS_ANDROID) |
| + // Called when the user has selected items or canceled the popup. |
| + void DidSelectItems(bool canceled, const std::vector<int>& selected_indices); |
| +#endif |
| + |
| // WebKit::WebExternalPopupMenu implementation: |
| virtual void show(const WebKit::WebRect& bounds); |
| virtual void close(); |