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

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

Issue 135863002: Reland Merge NativeTextfieldViews into views::Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle Ctrl-Shift-Delete and Backspace on Linux, like on ChromeOS. Created 6 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/views.gyp ('k') | no next file » | 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 // TODO(beng): Investigate whether or not this is needed. 750 // TODO(beng): Investigate whether or not this is needed.
751 virtual internal::RootView* CreateRootView(); 751 virtual internal::RootView* CreateRootView();
752 752
753 // Provided to allow the NativeWidget implementations to destroy the RootView 753 // Provided to allow the NativeWidget implementations to destroy the RootView
754 // _before_ the focus manager/tooltip manager. 754 // _before_ the focus manager/tooltip manager.
755 // TODO(beng): remove once we fold those objects onto this one. 755 // TODO(beng): remove once we fold those objects onto this one.
756 void DestroyRootView(); 756 void DestroyRootView();
757 757
758 private: 758 private:
759 friend class ComboboxTest; 759 friend class ComboboxTest;
760 friend class NativeTextfieldViewsTest; 760 friend class TextfieldTest;
761 761
762 // Sets the value of |disable_inactive_rendering_|. If the value changes, 762 // Sets the value of |disable_inactive_rendering_|. If the value changes,
763 // both the NonClientView and WidgetDelegate are notified. 763 // both the NonClientView and WidgetDelegate are notified.
764 void SetInactiveRenderingDisabled(bool value); 764 void SetInactiveRenderingDisabled(bool value);
765 765
766 // Persists the window's restored position and "show" state using the 766 // Persists the window's restored position and "show" state using the
767 // window delegate. 767 // window delegate.
768 void SaveWindowPlacement(); 768 void SaveWindowPlacement();
769 769
770 // Sizes and positions the window just after it is created. 770 // Sizes and positions the window just after it is created.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 // True when window movement via mouse interaction with the frame should be 886 // True when window movement via mouse interaction with the frame should be
887 // disabled. 887 // disabled.
888 bool movement_disabled_; 888 bool movement_disabled_;
889 889
890 DISALLOW_COPY_AND_ASSIGN(Widget); 890 DISALLOW_COPY_AND_ASSIGN(Widget);
891 }; 891 };
892 892
893 } // namespace views 893 } // namespace views
894 894
895 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 895 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/views.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698