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

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

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased after addition of touch_handle_orientation file Created 5 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
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_VIEWS_DELEGATE_H_ 5 #ifndef UI_VIEWS_VIEWS_DELEGATE_H_
6 #define UI_VIEWS_VIEWS_DELEGATE_H_ 6 #define UI_VIEWS_VIEWS_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 namespace ui { 36 namespace ui {
37 class ContextFactory; 37 class ContextFactory;
38 } 38 }
39 39
40 namespace views { 40 namespace views {
41 41
42 class NativeWidget; 42 class NativeWidget;
43 class NonClientFrameView; 43 class NonClientFrameView;
44 class TouchSelectionMenuRunnerViews;
44 class ViewsTouchEditingControllerFactory; 45 class ViewsTouchEditingControllerFactory;
45 class View; 46 class View;
46 class Widget; 47 class Widget;
47 namespace internal { 48 namespace internal {
48 class NativeWidgetDelegate; 49 class NativeWidgetDelegate;
49 } 50 }
50 51
51 // ViewsDelegate is an interface implemented by an object using the views 52 // ViewsDelegate is an interface implemented by an object using the views
52 // framework. It is used to obtain various high level application utilities 53 // framework. It is used to obtain various high level application utilities
53 // and perform some actions such as window placement saving. 54 // and perform some actions such as window placement saving.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // 144 //
144 // The return value is a bitmask of AppbarAutohideEdge. 145 // The return value is a bitmask of AppbarAutohideEdge.
145 virtual int GetAppbarAutohideEdges(HMONITOR monitor, 146 virtual int GetAppbarAutohideEdges(HMONITOR monitor,
146 const base::Closure& callback); 147 const base::Closure& callback);
147 #endif 148 #endif
148 149
149 // The active ViewsDelegate used by the views system. 150 // The active ViewsDelegate used by the views system.
150 static ViewsDelegate* views_delegate; 151 static ViewsDelegate* views_delegate;
151 152
152 private: 153 private:
154 scoped_ptr<TouchSelectionMenuRunnerViews> touch_selection_menu_runner_;
153 scoped_ptr<ViewsTouchEditingControllerFactory> views_tsc_factory_; 155 scoped_ptr<ViewsTouchEditingControllerFactory> views_tsc_factory_;
154 156
155 DISALLOW_COPY_AND_ASSIGN(ViewsDelegate); 157 DISALLOW_COPY_AND_ASSIGN(ViewsDelegate);
156 }; 158 };
157 159
158 } // namespace views 160 } // namespace views
159 161
160 #endif // UI_VIEWS_VIEWS_DELEGATE_H_ 162 #endif // UI_VIEWS_VIEWS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698