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

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

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/views_delegate.h ('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 7
8 #include <set> 8 #include <set>
9 #include <stack> 9 #include <stack>
10 #include <vector> 10 #include <vector>
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 // Releases capture. 572 // Releases capture.
573 void ReleaseCapture(); 573 void ReleaseCapture();
574 574
575 // Returns true if the widget has capture. 575 // Returns true if the widget has capture.
576 bool HasCapture(); 576 bool HasCapture();
577 577
578 // Returns the current event being processed. If there are multiple events 578 // Returns the current event being processed. If there are multiple events
579 // being processed at the same time (e.g. one event triggers another event), 579 // being processed at the same time (e.g. one event triggers another event),
580 // then the most recent event is returned. Returns NULL if no event is being 580 // then the most recent event is returned. Returns NULL if no event is being
581 // processed. 581 // processed.
582 const Event* GetCurrentEvent(); 582 const ui::Event* GetCurrentEvent();
583 583
584 // Invoked when the tooltip text changes for the specified views. 584 // Invoked when the tooltip text changes for the specified views.
585 void TooltipTextChanged(View* view); 585 void TooltipTextChanged(View* view);
586 586
587 // Sets-up the focus manager with the view that should have focus when the 587 // Sets-up the focus manager with the view that should have focus when the
588 // window is shown the first time. Returns true if the initial focus has been 588 // window is shown the first time. Returns true if the initial focus has been
589 // set or the widget should not set the initial focus, or false if the caller 589 // set or the widget should not set the initial focus, or false if the caller
590 // should set the initial focus (if any). 590 // should set the initial focus (if any).
591 bool SetInitialFocus(); 591 bool SetInitialFocus();
592 592
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 794
795 // Is |root_layers_| out of date? 795 // Is |root_layers_| out of date?
796 bool root_layers_dirty_; 796 bool root_layers_dirty_;
797 797
798 DISALLOW_COPY_AND_ASSIGN(Widget); 798 DISALLOW_COPY_AND_ASSIGN(Widget);
799 }; 799 };
800 800
801 } // namespace views 801 } // namespace views
802 802
803 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 803 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/views_delegate.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698