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

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

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Restore mash Created 4 years 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/test/views_test_helper_mac.mm ('k') | ui/views/views_delegate.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_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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 // Returns true if the operating system's window manager will always provide a 170 // Returns true if the operating system's window manager will always provide a
171 // title bar with caption buttons (ignoring the setting to 171 // title bar with caption buttons (ignoring the setting to
172 // |remove_standard_frame| in InitParams). If |maximized|, this applies to 172 // |remove_standard_frame| in InitParams). If |maximized|, this applies to
173 // maximized windows; otherwise to restored windows. 173 // maximized windows; otherwise to restored windows.
174 virtual bool WindowManagerProvidesTitleBar(bool maximized); 174 virtual bool WindowManagerProvidesTitleBar(bool maximized);
175 175
176 // Returns the context factory for new windows. 176 // Returns the context factory for new windows.
177 virtual ui::ContextFactory* GetContextFactory(); 177 virtual ui::ContextFactory* GetContextFactory();
178 178
179 // Returns the privileged context factory for new windows.
180 virtual ui::ContextFactoryPrivate* GetContextFactoryPrivate();
181
179 // Returns the user-visible name of the application. 182 // Returns the user-visible name of the application.
180 virtual std::string GetApplicationName(); 183 virtual std::string GetApplicationName();
181 184
182 #if defined(OS_WIN) 185 #if defined(OS_WIN)
183 // Starts a query for the appbar autohide edges of the specified monitor and 186 // Starts a query for the appbar autohide edges of the specified monitor and
184 // returns the current value. If the query finds the edges have changed from 187 // returns the current value. If the query finds the edges have changed from
185 // the current value, |callback| is subsequently invoked. If the edges have 188 // the current value, |callback| is subsequently invoked. If the edges have
186 // not changed, |callback| is never run. 189 // not changed, |callback| is never run.
187 // 190 //
188 // The return value is a bitmask of AppbarAutohideEdge. 191 // The return value is a bitmask of AppbarAutohideEdge.
(...skipping 27 matching lines...) Expand all
216 #endif 219 #endif
217 220
218 NativeWidgetFactory native_widget_factory_; 221 NativeWidgetFactory native_widget_factory_;
219 222
220 DISALLOW_COPY_AND_ASSIGN(ViewsDelegate); 223 DISALLOW_COPY_AND_ASSIGN(ViewsDelegate);
221 }; 224 };
222 225
223 } // namespace views 226 } // namespace views
224 227
225 #endif // UI_VIEWS_VIEWS_DELEGATE_H_ 228 #endif // UI_VIEWS_VIEWS_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/test/views_test_helper_mac.mm ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698