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

Unified Diff: chrome/browser/chromeos/power_menu_button.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: chrome/browser/chromeos/power_menu_button.cc
===================================================================
--- chrome/browser/chromeos/power_menu_button.cc (revision 28706)
+++ chrome/browser/chromeos/power_menu_button.cc (working copy)
@@ -85,8 +85,7 @@
////////////////////////////////////////////////////////////////////////////////
// PowerMenuButton, views::ViewMenuDelegate implementation:
-void PowerMenuButton::RunMenu(views::View* source, const gfx::Point& pt,
- gfx::NativeView hwnd) {
+void PowerMenuButton::RunMenu(views::View* source, const gfx::Point& pt) {
power_menu_.Rebuild();
power_menu_.UpdateStates();
power_menu_.RunMenuAt(pt, views::Menu2::ALIGN_TOPRIGHT);

Powered by Google App Engine
This is Rietveld 408576698