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

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

Issue 1536493002: Working proof of concept of select to speak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drag across multiple objects Created 5 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 unified diff | Download patch
« no previous file with comments | « ui/events/event_handler.cc ('k') | 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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 ui::EventTargeter* GetEventTargeter() override; 721 ui::EventTargeter* GetEventTargeter() override;
722 void ConvertEventToTarget(ui::EventTarget* target, 722 void ConvertEventToTarget(ui::EventTarget* target,
723 ui::LocatedEvent* event) override; 723 ui::LocatedEvent* event) override;
724 724
725 // Overridden from ui::EventHandler: 725 // Overridden from ui::EventHandler:
726 void OnKeyEvent(ui::KeyEvent* event) override; 726 void OnKeyEvent(ui::KeyEvent* event) override;
727 void OnMouseEvent(ui::MouseEvent* event) override; 727 void OnMouseEvent(ui::MouseEvent* event) override;
728 void OnScrollEvent(ui::ScrollEvent* event) override; 728 void OnScrollEvent(ui::ScrollEvent* event) override;
729 void OnTouchEvent(ui::TouchEvent* event) final; 729 void OnTouchEvent(ui::TouchEvent* event) final;
730 void OnGestureEvent(ui::GestureEvent* event) override; 730 void OnGestureEvent(ui::GestureEvent* event) override;
731 void OnAccessibilityMouseEvent(ui::MouseEvent* event) override;
731 732
732 // Accelerators -------------------------------------------------------------- 733 // Accelerators --------------------------------------------------------------
733 734
734 // Sets a keyboard accelerator for that view. When the user presses the 735 // Sets a keyboard accelerator for that view. When the user presses the
735 // accelerator key combination, the AcceleratorPressed method is invoked. 736 // accelerator key combination, the AcceleratorPressed method is invoked.
736 // Note that you can set multiple accelerators for a view by invoking this 737 // Note that you can set multiple accelerators for a view by invoking this
737 // method several times. Note also that AcceleratorPressed is invoked only 738 // method several times. Note also that AcceleratorPressed is invoked only
738 // when CanHandleAccelerators() is true. 739 // when CanHandleAccelerators() is true.
739 virtual void AddAccelerator(const ui::Accelerator& accelerator); 740 virtual void AddAccelerator(const ui::Accelerator& accelerator);
740 741
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 // Belongs to this view, but it's reference-counted on some platforms 1568 // Belongs to this view, but it's reference-counted on some platforms
1568 // so we can't use a scoped_ptr. It's dereferenced in the destructor. 1569 // so we can't use a scoped_ptr. It's dereferenced in the destructor.
1569 NativeViewAccessibility* native_view_accessibility_; 1570 NativeViewAccessibility* native_view_accessibility_;
1570 1571
1571 DISALLOW_COPY_AND_ASSIGN(View); 1572 DISALLOW_COPY_AND_ASSIGN(View);
1572 }; 1573 };
1573 1574
1574 } // namespace views 1575 } // namespace views
1575 1576
1576 #endif // UI_VIEWS_VIEW_H_ 1577 #endif // UI_VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « ui/events/event_handler.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698