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

Unified Diff: views/controls/menu/menu_host.h

Issue 7390032: Fixes regression from menu refactoring. The old windows code wasn't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename field Created 9 years, 5 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
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ('k') | views/controls/menu/menu_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_host.h
diff --git a/views/controls/menu/menu_host.h b/views/controls/menu/menu_host.h
index 0b5417b773ed15255dcda0ec231ab67e92fe58ca..3edffb2a9695ece0c36660fbffc74e71189c047e 100644
--- a/views/controls/menu/menu_host.h
+++ b/views/controls/menu/menu_host.h
@@ -73,8 +73,8 @@ class MenuHost : public Widget {
// If true, DestroyMenuHost has been invoked.
bool destroying_;
- // If true, we're attempting to Show.
- bool showing_;
+ // If true and capture is lost we don't notify the delegate.
+ bool ignore_capture_lost_;
DISALLOW_COPY_AND_ASSIGN(MenuHost);
};
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ('k') | views/controls/menu/menu_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698