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

Side by Side Diff: ui/views/view.h

Issue 291273007: Prevent the context menu from showing when long pressing the window controls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_VIEW_H_ 5 #ifndef UI_VIEWS_VIEW_H_
6 #define UI_VIEWS_VIEW_H_ 6 #define UI_VIEWS_VIEW_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 1591
1592 // The menu controller. 1592 // The menu controller.
1593 ContextMenuController* context_menu_controller_; 1593 ContextMenuController* context_menu_controller_;
1594 1594
1595 // Drag and drop ------------------------------------------------------------- 1595 // Drag and drop -------------------------------------------------------------
1596 1596
1597 DragController* drag_controller_; 1597 DragController* drag_controller_;
1598 1598
1599 // Input -------------------------------------------------------------------- 1599 // Input --------------------------------------------------------------------
1600 1600
1601 scoped_ptr<internal::PostEventDispatchHandler> post_dispatch_handler_;
1602 scoped_ptr<ui::EventTargeter> targeter_; 1601 scoped_ptr<ui::EventTargeter> targeter_;
1603 1602
1604 // Accessibility ------------------------------------------------------------- 1603 // Accessibility -------------------------------------------------------------
1605 1604
1606 // Belongs to this view, but it's reference-counted on some platforms 1605 // Belongs to this view, but it's reference-counted on some platforms
1607 // so we can't use a scoped_ptr. It's dereferenced in the destructor. 1606 // so we can't use a scoped_ptr. It's dereferenced in the destructor.
1608 NativeViewAccessibility* native_view_accessibility_; 1607 NativeViewAccessibility* native_view_accessibility_;
1609 1608
1610 DISALLOW_COPY_AND_ASSIGN(View); 1609 DISALLOW_COPY_AND_ASSIGN(View);
1611 }; 1610 };
1612 1611
1613 } // namespace views 1612 } // namespace views
1614 1613
1615 #endif // UI_VIEWS_VIEW_H_ 1614 #endif // UI_VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698