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

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

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

Powered by Google App Engine
This is Rietveld 408576698