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

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

Issue 1772183002: Resets hover state when ToolbarActionView is dragged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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
« no previous file with comments | « ui/views/controls/button/custom_button_unittest.cc ('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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 void DestroyRootView(); 833 void DestroyRootView();
834 834
835 // Notification that a drag will start. Default implementation does nothing. 835 // Notification that a drag will start. Default implementation does nothing.
836 virtual void OnDragWillStart(); 836 virtual void OnDragWillStart();
837 837
838 // Notification that the drag performed by RunShellDrag() has completed. 838 // Notification that the drag performed by RunShellDrag() has completed.
839 virtual void OnDragComplete(); 839 virtual void OnDragComplete();
840 840
841 private: 841 private:
842 friend class ComboboxTest; 842 friend class ComboboxTest;
843 friend class CustomButtonTest;
843 friend class TextfieldTest; 844 friend class TextfieldTest;
844 845
845 // Sets the value of |disable_inactive_rendering_|. If the value changes, 846 // Sets the value of |disable_inactive_rendering_|. If the value changes,
846 // both the NonClientView and WidgetDelegate are notified. 847 // both the NonClientView and WidgetDelegate are notified.
847 void SetInactiveRenderingDisabled(bool value); 848 void SetInactiveRenderingDisabled(bool value);
848 849
849 // Persists the window's restored position and "show" state using the 850 // Persists the window's restored position and "show" state using the
850 // window delegate. 851 // window delegate.
851 void SaveWindowPlacement(); 852 void SaveWindowPlacement();
852 853
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 bool movement_disabled_; 969 bool movement_disabled_;
969 970
970 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; 971 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_;
971 972
972 DISALLOW_COPY_AND_ASSIGN(Widget); 973 DISALLOW_COPY_AND_ASSIGN(Widget);
973 }; 974 };
974 975
975 } // namespace views 976 } // namespace views
976 977
977 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 978 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/controls/button/custom_button_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698