Chromium Code Reviews

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 12660016: Make long press & release to trigger context menu on tab (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | chrome/browser/ui/views/tabs/tab_strip.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index 1b039ecb3345ba9a06d9692429007f9499bdc64d..0bd23afa39d062b25735dd3dd44ddfd9bd1d43f4 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -587,6 +587,15 @@ class TabStrip : public views::View,
// exits the tabstrip (as determined using MouseWatcher).
bool reset_to_shrink_on_exit_;
+ // If there was tab dragging from touch gestrue.
+ bool was_dragging_;
+
+ // If there was long press gesture event.
+ bool had_gesture_long_press_;
+
+ // Position of the last long press gesture event.
+ gfx::Point last_long_press_location_;
+
// Location of the mouse at the time of the last move.
gfx::Point last_mouse_move_location_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | chrome/browser/ui/views/tabs/tab_strip.cc » ('J')

Powered by Google App Engine