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

Unified Diff: webkit/glue/webwidget_impl.h

Issue 48149: Use cocoa controls for HTML select popups in test_shell (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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: webkit/glue/webwidget_impl.h
===================================================================
--- webkit/glue/webwidget_impl.h (revision 12371)
+++ webkit/glue/webwidget_impl.h (working copy)
@@ -25,6 +25,7 @@
class Widget;
}
+struct MenuItem;
class WebKeyboardEvent;
class WebMouseEvent;
class WebMouseWheelEvent;
@@ -53,6 +54,11 @@
// WebWidgetImpl
void Init(WebCore::FramelessScrollView* widget, const gfx::Rect& bounds);
+ void InitWithItems(WebCore::FramelessScrollView* widget,
+ const gfx::Rect& bounds,
+ int item_height,
+ int selected_index,
+ const std::vector<MenuItem>& items);
const gfx::Size& size() const { return size_; }
@@ -110,7 +116,7 @@
WebCore::FramelessScrollView* widget_;
private:
- DISALLOW_EVIL_CONSTRUCTORS(WebWidgetImpl);
+ DISALLOW_COPY_AND_ASSIGN(WebWidgetImpl);
};
#endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__

Powered by Google App Engine
This is Rietveld 408576698