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

Unified Diff: ash/shelf/shelf_view.h

Issue 772963002: Make the second click on the app shelf icon close the window-list bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compare the time stamp when the mouse is pressed down. Created 6 years 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 | « no previous file | ash/shelf/shelf_view.cc » ('j') | ash/shelf/shelf_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view.h
diff --git a/ash/shelf/shelf_view.h b/ash/shelf/shelf_view.h
index 7aac1deb419093682c696464d7071cecf58eb44a..228cc46987166e0ef23fbc3c0d4c872e06cef0e8 100644
--- a/ash/shelf/shelf_view.h
+++ b/ash/shelf/shelf_view.h
@@ -435,6 +435,13 @@ class ASH_EXPORT ShelfView : public views::View,
// True when ripped item from overflow bubble is entered into Shelf.
bool dragged_off_from_overflow_to_shelf_;
+ // False if the event is a reposted event from a event which has just closed
+ // the same menu.
+ bool is_usable_event_;
Mr4D (OOO till 08-26) 2014/12/05 15:21:48 The name is rather misleading. How about "is_repos
xdai1 2014/12/05 19:01:46 Done.
+
+ // Record the index for the last pressed |ShelfItem|.
+ int last_view_index_;
Mr4D (OOO till 08-26) 2014/12/05 15:21:48 You might not need this. Please see comment below.
xdai1 2014/12/05 19:01:47 We may still need this. Please see comment in shel
+
DISALLOW_COPY_AND_ASSIGN(ShelfView);
};
« no previous file with comments | « no previous file | ash/shelf/shelf_view.cc » ('j') | ash/shelf/shelf_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698