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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 2738953002: Rename WebParsedFeaturePolicyHeader to WebParsedFeaturePolicy (Closed)
Patch Set: ParsedFeaturePolicyHeader => ParsedFeaturePolicy (content version) Created 3 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 | « no previous file | content/child/blink_platform_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 blink::WebString domKeyStringFromEnum(int dom_key) override; 116 blink::WebString domKeyStringFromEnum(int dom_key) override;
117 int domKeyEnumFromString(const blink::WebString& key_string) override; 117 int domKeyEnumFromString(const blink::WebString& key_string) override;
118 118
119 // This class does *not* own the compositor thread. It is the responsibility 119 // This class does *not* own the compositor thread. It is the responsibility
120 // of the caller to ensure that the compositor thread is cleared before it is 120 // of the caller to ensure that the compositor thread is cleared before it is
121 // destructed. 121 // destructed.
122 void SetCompositorThread(blink::scheduler::WebThreadBase* compositor_thread); 122 void SetCompositorThread(blink::scheduler::WebThreadBase* compositor_thread);
123 123
124 blink::WebFeaturePolicy* createFeaturePolicy( 124 blink::WebFeaturePolicy* createFeaturePolicy(
125 const blink::WebFeaturePolicy* parentPolicy, 125 const blink::WebFeaturePolicy* parentPolicy,
126 const blink::WebParsedFeaturePolicyHeader& containerPolicy, 126 const blink::WebParsedFeaturePolicy& containerPolicy,
127 const blink::WebParsedFeaturePolicyHeader& policyHeader, 127 const blink::WebParsedFeaturePolicy& policyHeader,
128 const blink::WebSecurityOrigin& origin) override; 128 const blink::WebSecurityOrigin& origin) override;
129 blink::WebFeaturePolicy* duplicateFeaturePolicyWithOrigin( 129 blink::WebFeaturePolicy* duplicateFeaturePolicyWithOrigin(
130 const blink::WebFeaturePolicy& policy, 130 const blink::WebFeaturePolicy& policy,
131 const blink::WebSecurityOrigin& new_origin) override; 131 const blink::WebSecurityOrigin& new_origin) override;
132 132
133 private: 133 private:
134 void InternalInit(); 134 void InternalInit();
135 void WaitUntilWebThreadTLSUpdate(blink::scheduler::WebThreadBase* thread); 135 void WaitUntilWebThreadTLSUpdate(blink::scheduler::WebThreadBase* thread);
136 void UpdateWebThreadTLS(blink::WebThread* thread, base::WaitableEvent* event); 136 void UpdateWebThreadTLS(blink::WebThread* thread, base::WaitableEvent* event);
137 137
138 bool IsMainThread() const; 138 bool IsMainThread() const;
139 139
140 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; 140 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
141 WebThemeEngineImpl native_theme_engine_; 141 WebThemeEngineImpl native_theme_engine_;
142 WebFallbackThemeEngineImpl fallback_theme_engine_; 142 WebFallbackThemeEngineImpl fallback_theme_engine_;
143 base::ThreadLocalStorage::Slot current_thread_slot_; 143 base::ThreadLocalStorage::Slot current_thread_slot_;
144 webcrypto::WebCryptoImpl web_crypto_; 144 webcrypto::WebCryptoImpl web_crypto_;
145 145
146 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 146 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
147 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 147 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
148 148
149 blink::scheduler::WebThreadBase* compositor_thread_; 149 blink::scheduler::WebThreadBase* compositor_thread_;
150 }; 150 };
151 151
152 } // namespace content 152 } // namespace content
153 153
154 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 154 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698