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

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

Issue 9076002: Initial views touchui Gesture Recognizer support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win release build Created 8 years, 11 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 | « ui/views/widget/root_view.cc ('k') | ui/views/widget/widget.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_WIDGET_WIDGET_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_
6 #define UI_VIEWS_WIDGET_WIDGET_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <stack> 10 #include <stack>
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; 612 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE;
613 virtual bool HasFocusManager() const OVERRIDE; 613 virtual bool HasFocusManager() const OVERRIDE;
614 virtual bool OnNativeWidgetPaintAccelerated( 614 virtual bool OnNativeWidgetPaintAccelerated(
615 const gfx::Rect& dirty_region) OVERRIDE; 615 const gfx::Rect& dirty_region) OVERRIDE;
616 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; 616 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE;
617 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; 617 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE;
618 virtual bool OnKeyEvent(const KeyEvent& event) OVERRIDE; 618 virtual bool OnKeyEvent(const KeyEvent& event) OVERRIDE;
619 virtual bool OnMouseEvent(const MouseEvent& event) OVERRIDE; 619 virtual bool OnMouseEvent(const MouseEvent& event) OVERRIDE;
620 virtual void OnMouseCaptureLost() OVERRIDE; 620 virtual void OnMouseCaptureLost() OVERRIDE;
621 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; 621 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE;
622 virtual ui::GestureStatus OnGestureEvent(const GestureEvent& event) OVERRIDE;
622 virtual bool ExecuteCommand(int command_id) OVERRIDE; 623 virtual bool ExecuteCommand(int command_id) OVERRIDE;
623 virtual InputMethod* GetInputMethodDirect() OVERRIDE; 624 virtual InputMethod* GetInputMethodDirect() OVERRIDE;
624 virtual Widget* AsWidget() OVERRIDE; 625 virtual Widget* AsWidget() OVERRIDE;
625 virtual const Widget* AsWidget() const OVERRIDE; 626 virtual const Widget* AsWidget() const OVERRIDE;
626 627
627 // Overridden from FocusTraversable: 628 // Overridden from FocusTraversable:
628 virtual FocusSearch* GetFocusSearch() OVERRIDE; 629 virtual FocusSearch* GetFocusSearch() OVERRIDE;
629 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; 630 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE;
630 virtual View* GetFocusTraversableParentView() OVERRIDE; 631 virtual View* GetFocusTraversableParentView() OVERRIDE;
631 632
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 // duplicate move events even though the mouse hasn't moved. 756 // duplicate move events even though the mouse hasn't moved.
756 bool last_mouse_event_was_move_; 757 bool last_mouse_event_was_move_;
757 gfx::Point last_mouse_event_position_; 758 gfx::Point last_mouse_event_position_;
758 759
759 DISALLOW_COPY_AND_ASSIGN(Widget); 760 DISALLOW_COPY_AND_ASSIGN(Widget);
760 }; 761 };
761 762
762 } // namespace views 763 } // namespace views
763 764
764 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 765 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/widget/root_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698