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

Unified Diff: views/controls/menu/submenu_view.cc

Issue 270067: Converts some uses of native_view to native_window. This is necessitated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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: views/controls/menu/submenu_view.cc
===================================================================
--- views/controls/menu/submenu_view.cc (revision 28706)
+++ views/controls/menu/submenu_view.cc (working copy)
@@ -216,7 +216,7 @@
return host_ && host_->IsVisible();
}
-void SubmenuView::ShowAt(gfx::NativeView parent,
+void SubmenuView::ShowAt(gfx::NativeWindow parent,
const gfx::Rect& bounds,
bool do_capture) {
if (host_) {
@@ -280,8 +280,8 @@
return scroll_view_container_;
}
-gfx::NativeView SubmenuView::native_view() const {
- return host_ ? host_->GetNativeView() : NULL;
+gfx::NativeWindow SubmenuView::native_window() const {
+ return host_ ? host_->GetNativeWindow() : NULL;
}
void SubmenuView::PaintDropIndicator(gfx::Canvas* canvas,

Powered by Google App Engine
This is Rietveld 408576698