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

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

Issue 2874263002: Don't count modifiers-changed events as being user gestures. (Closed)
Patch Set: Created 3 years, 7 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const blink::WebURL& script_url) override; 107 const blink::WebURL& script_url) override;
108 blink::WebCrypto* Crypto() override; 108 blink::WebCrypto* Crypto() override;
109 blink::WebNotificationManager* GetNotificationManager() override; 109 blink::WebNotificationManager* GetNotificationManager() override;
110 blink::WebPushProvider* PushProvider() override; 110 blink::WebPushProvider* PushProvider() override;
111 blink::WebMediaCapabilitiesClient* MediaCapabilitiesClient() override; 111 blink::WebMediaCapabilitiesClient* MediaCapabilitiesClient() override;
112 112
113 blink::WebString DomCodeStringFromEnum(int dom_code) override; 113 blink::WebString DomCodeStringFromEnum(int dom_code) override;
114 int DomEnumFromCodeString(const blink::WebString& codeString) override; 114 int DomEnumFromCodeString(const blink::WebString& codeString) override;
115 blink::WebString DomKeyStringFromEnum(int dom_key) override; 115 blink::WebString DomKeyStringFromEnum(int dom_key) override;
116 int DomKeyEnumFromString(const blink::WebString& key_string) override; 116 int DomKeyEnumFromString(const blink::WebString& key_string) override;
117 bool IsDomKeyForModifier(int dom_key) override;
117 118
118 // 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
119 // 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
120 // destructed. 121 // destructed.
121 void SetCompositorThread(blink::scheduler::WebThreadBase* compositor_thread); 122 void SetCompositorThread(blink::scheduler::WebThreadBase* compositor_thread);
122 123
123 std::unique_ptr<blink::WebFeaturePolicy> CreateFeaturePolicy( 124 std::unique_ptr<blink::WebFeaturePolicy> CreateFeaturePolicy(
124 const blink::WebFeaturePolicy* parentPolicy, 125 const blink::WebFeaturePolicy* parentPolicy,
125 const blink::WebParsedFeaturePolicy& containerPolicy, 126 const blink::WebParsedFeaturePolicy& containerPolicy,
126 const blink::WebParsedFeaturePolicy& policyHeader, 127 const blink::WebParsedFeaturePolicy& policyHeader,
(...skipping 18 matching lines...) Expand all
145 146
146 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 147 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
147 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 148 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
148 149
149 blink::scheduler::WebThreadBase* compositor_thread_; 150 blink::scheduler::WebThreadBase* compositor_thread_;
150 }; 151 };
151 152
152 } // namespace content 153 } // namespace content
153 154
154 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 155 #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