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

Side by Side Diff: base/threading/thread_restrictions.h

Issue 1354533002: Mac: move content::RenderWidgetResizeHelper to ui::WindowResizeHelperMac (acelerated_widget_mac) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rejig class comments Created 5 years, 3 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 | « no previous file | content/browser/browser_main_loop.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 BASE_THREADING_THREAD_RESTRICTIONS_H_ 5 #ifndef BASE_THREADING_THREAD_RESTRICTIONS_H_
6 #define BASE_THREADING_THREAD_RESTRICTIONS_H_ 6 #define BASE_THREADING_THREAD_RESTRICTIONS_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 22 matching lines...) Expand all
33 namespace chrome_browser_net { 33 namespace chrome_browser_net {
34 class Predictor; 34 class Predictor;
35 } 35 }
36 namespace content { 36 namespace content {
37 class BrowserGpuChannelHostFactory; 37 class BrowserGpuChannelHostFactory;
38 class BrowserGpuMemoryBufferManager; 38 class BrowserGpuMemoryBufferManager;
39 class BrowserShutdownProfileDumper; 39 class BrowserShutdownProfileDumper;
40 class BrowserTestBase; 40 class BrowserTestBase;
41 class GpuChannelHost; 41 class GpuChannelHost;
42 class NestedMessagePumpAndroid; 42 class NestedMessagePumpAndroid;
43 class RenderWidgetResizeHelper;
44 class ScopedAllowWaitForAndroidLayoutTests; 43 class ScopedAllowWaitForAndroidLayoutTests;
45 class ScopedAllowWaitForDebugURL; 44 class ScopedAllowWaitForDebugURL;
46 class TextInputClientMac; 45 class TextInputClientMac;
47 } // namespace content 46 } // namespace content
48 namespace dbus { 47 namespace dbus {
49 class Bus; 48 class Bus;
50 } 49 }
51 namespace disk_cache { 50 namespace disk_cache {
52 class BackendImpl; 51 class BackendImpl;
53 class InFlightIO; 52 class InFlightIO;
54 } 53 }
55 namespace mojo { 54 namespace mojo {
56 namespace common { 55 namespace common {
57 class WatcherThreadManager; 56 class WatcherThreadManager;
58 } 57 }
59 } 58 }
60 namespace net { 59 namespace net {
61 class NetworkChangeNotifierMac; 60 class NetworkChangeNotifierMac;
62 namespace internal { 61 namespace internal {
63 class AddressTrackerLinux; 62 class AddressTrackerLinux;
64 } 63 }
65 } 64 }
66 65
67 namespace remoting { 66 namespace remoting {
68 class AutoThread; 67 class AutoThread;
69 } 68 }
70 69
70 namespace ui {
71 class WindowResizeHelperMac;
72 }
73
71 namespace base { 74 namespace base {
72 75
73 namespace android { 76 namespace android {
74 class JavaHandlerThread; 77 class JavaHandlerThread;
75 } 78 }
76 79
77 class SequencedWorkerPool; 80 class SequencedWorkerPool;
78 class SimpleThread; 81 class SimpleThread;
79 class Thread; 82 class Thread;
80 class ThreadTestHelper; 83 class ThreadTestHelper;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 static void DisallowWaiting() {} 171 static void DisallowWaiting() {}
169 static void AssertWaitAllowed() {} 172 static void AssertWaitAllowed() {}
170 #endif 173 #endif
171 174
172 private: 175 private:
173 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. 176 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first.
174 // BEGIN ALLOWED USAGE. 177 // BEGIN ALLOWED USAGE.
175 friend class content::BrowserShutdownProfileDumper; 178 friend class content::BrowserShutdownProfileDumper;
176 friend class content::BrowserTestBase; 179 friend class content::BrowserTestBase;
177 friend class content::NestedMessagePumpAndroid; 180 friend class content::NestedMessagePumpAndroid;
178 friend class content::RenderWidgetResizeHelper;
179 friend class content::ScopedAllowWaitForAndroidLayoutTests; 181 friend class content::ScopedAllowWaitForAndroidLayoutTests;
180 friend class content::ScopedAllowWaitForDebugURL; 182 friend class content::ScopedAllowWaitForDebugURL;
181 friend class ::HistogramSynchronizer; 183 friend class ::HistogramSynchronizer;
182 friend class ::ScopedAllowWaitForLegacyWebViewApi; 184 friend class ::ScopedAllowWaitForLegacyWebViewApi;
183 friend class cc::CompletionEvent; 185 friend class cc::CompletionEvent;
184 friend class cc::TaskGraphRunner; 186 friend class cc::TaskGraphRunner;
185 friend class mojo::common::WatcherThreadManager; 187 friend class mojo::common::WatcherThreadManager;
186 friend class remoting::AutoThread; 188 friend class remoting::AutoThread;
189 friend class ui::WindowResizeHelperMac;
187 friend class MessagePumpDefault; 190 friend class MessagePumpDefault;
188 friend class SequencedWorkerPool; 191 friend class SequencedWorkerPool;
189 friend class SimpleThread; 192 friend class SimpleThread;
190 friend class Thread; 193 friend class Thread;
191 friend class ThreadTestHelper; 194 friend class ThreadTestHelper;
192 friend class PlatformThread; 195 friend class PlatformThread;
193 friend class android::JavaHandlerThread; 196 friend class android::JavaHandlerThread;
194 197
195 // END ALLOWED USAGE. 198 // END ALLOWED USAGE.
196 // BEGIN USAGE THAT NEEDS TO BE FIXED. 199 // BEGIN USAGE THAT NEEDS TO BE FIXED.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 236
234 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 237 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
235 }; 238 };
236 239
237 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 240 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
238 }; 241 };
239 242
240 } // namespace base 243 } // namespace base
241 244
242 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 245 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698