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

Side by Side Diff: third_party/WebKit/Source/core/dom/ExecutionContext.h

Issue 2029163002: Worklets - Change inheritance heirarchy of WorkletGlobalScope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 years, 6 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2012 Google Inc. All Rights Reserved. 3 * Copyright (C) 2012 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // ancestor tree to decide whether to restrict usage of a powerful 66 // ancestor tree to decide whether to restrict usage of a powerful
67 // feature. 67 // feature.
68 enum SecureContextCheck { 68 enum SecureContextCheck {
69 StandardSecureContextCheck, 69 StandardSecureContextCheck,
70 WebCryptoSecureContextCheck 70 WebCryptoSecureContextCheck
71 }; 71 };
72 72
73 virtual bool isDocument() const { return false; } 73 virtual bool isDocument() const { return false; }
74 virtual bool isWorkerGlobalScope() const { return false; } 74 virtual bool isWorkerGlobalScope() const { return false; }
75 virtual bool isWorkletGlobalScope() const { return false; } 75 virtual bool isWorkletGlobalScope() const { return false; }
76 virtual bool isMainThreadWorkletGlobalScope() const { return false; }
76 virtual bool isDedicatedWorkerGlobalScope() const { return false; } 77 virtual bool isDedicatedWorkerGlobalScope() const { return false; }
77 virtual bool isSharedWorkerGlobalScope() const { return false; } 78 virtual bool isSharedWorkerGlobalScope() const { return false; }
78 virtual bool isServiceWorkerGlobalScope() const { return false; } 79 virtual bool isServiceWorkerGlobalScope() const { return false; }
79 virtual bool isCompositorWorkerGlobalScope() const { return false; } 80 virtual bool isCompositorWorkerGlobalScope() const { return false; }
80 virtual bool isPaintWorkletGlobalScope() const { return false; } 81 virtual bool isPaintWorkletGlobalScope() const { return false; }
81 virtual bool isJSExecutionForbidden() const { return false; } 82 virtual bool isJSExecutionForbidden() const { return false; }
82 83
83 virtual bool isContextThread() const { return true; } 84 virtual bool isContextThread() const { return true; }
84 85
85 SecurityOrigin* getSecurityOrigin(); 86 SecurityOrigin* getSecurityOrigin();
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 183
183 Deque<OwnPtr<SuspendableTask>> m_suspendedTasks; 184 Deque<OwnPtr<SuspendableTask>> m_suspendedTasks;
184 bool m_isRunSuspendableTasksScheduled; 185 bool m_isRunSuspendableTasksScheduled;
185 186
186 ReferrerPolicy m_referrerPolicy; 187 ReferrerPolicy m_referrerPolicy;
187 }; 188 };
188 189
189 } // namespace blink 190 } // namespace blink
190 191
191 #endif // ExecutionContext_h 192 #endif // ExecutionContext_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698