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

Side by Side Diff: views/widget/widget.h

Issue 8364039: Initial views touchui GestureRecognizer support (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added gesture tests in view_unittest Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 VIEWS_WIDGET_WIDGET_H_ 5 #ifndef VIEWS_WIDGET_WIDGET_H_
6 #define VIEWS_WIDGET_WIDGET_H_ 6 #define VIEWS_WIDGET_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stack> 9 #include <stack>
10 10
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; 594 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE;
595 virtual bool HasFocusManager() const OVERRIDE; 595 virtual bool HasFocusManager() const OVERRIDE;
596 virtual bool OnNativeWidgetPaintAccelerated( 596 virtual bool OnNativeWidgetPaintAccelerated(
597 const gfx::Rect& dirty_region) OVERRIDE; 597 const gfx::Rect& dirty_region) OVERRIDE;
598 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; 598 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE;
599 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; 599 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE;
600 virtual bool OnKeyEvent(const KeyEvent& event) OVERRIDE; 600 virtual bool OnKeyEvent(const KeyEvent& event) OVERRIDE;
601 virtual bool OnMouseEvent(const MouseEvent& event) OVERRIDE; 601 virtual bool OnMouseEvent(const MouseEvent& event) OVERRIDE;
602 virtual void OnMouseCaptureLost() OVERRIDE; 602 virtual void OnMouseCaptureLost() OVERRIDE;
603 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; 603 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE;
604 virtual bool OnGestureEvent(const GestureEvent& event) OVERRIDE;
604 virtual bool ExecuteCommand(int command_id) OVERRIDE; 605 virtual bool ExecuteCommand(int command_id) OVERRIDE;
605 virtual InputMethod* GetInputMethodDirect() OVERRIDE; 606 virtual InputMethod* GetInputMethodDirect() OVERRIDE;
606 virtual Widget* AsWidget() OVERRIDE; 607 virtual Widget* AsWidget() OVERRIDE;
607 virtual const Widget* AsWidget() const OVERRIDE; 608 virtual const Widget* AsWidget() const OVERRIDE;
608 609
609 // Overridden from FocusTraversable: 610 // Overridden from FocusTraversable:
610 virtual FocusSearch* GetFocusSearch() OVERRIDE; 611 virtual FocusSearch* GetFocusSearch() OVERRIDE;
611 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; 612 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE;
612 virtual View* GetFocusTraversableParentView() OVERRIDE; 613 virtual View* GetFocusTraversableParentView() OVERRIDE;
613 614
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 // duplicate move events even though the mouse hasn't moved. 741 // duplicate move events even though the mouse hasn't moved.
741 bool last_mouse_event_was_move_; 742 bool last_mouse_event_was_move_;
742 gfx::Point last_mouse_event_position_; 743 gfx::Point last_mouse_event_position_;
743 744
744 DISALLOW_COPY_AND_ASSIGN(Widget); 745 DISALLOW_COPY_AND_ASSIGN(Widget);
745 }; 746 };
746 747
747 } // namespace views 748 } // namespace views
748 749
749 #endif // VIEWS_WIDGET_WIDGET_H_ 750 #endif // VIEWS_WIDGET_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698