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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 574273002: Rewrite clipboard write IPC handling to be easier to understand. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests on Windows Created 6 years, 2 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 // 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 CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 24 matching lines...) Expand all
35 class WebGraphicsContext3DProvider; 35 class WebGraphicsContext3DProvider;
36 } 36 }
37 37
38 namespace content { 38 namespace content {
39 class BatteryStatusDispatcher; 39 class BatteryStatusDispatcher;
40 class DeviceLightEventPump; 40 class DeviceLightEventPump;
41 class DeviceMotionEventPump; 41 class DeviceMotionEventPump;
42 class DeviceOrientationEventPump; 42 class DeviceOrientationEventPump;
43 class PlatformEventObserverBase; 43 class PlatformEventObserverBase;
44 class QuotaMessageFilter; 44 class QuotaMessageFilter;
45 class RendererClipboardClient; 45 class RendererClipboardDelegate;
46 class RenderView; 46 class RenderView;
47 class ThreadSafeSender; 47 class ThreadSafeSender;
48 class WebClipboardImpl; 48 class WebClipboardImpl;
49 class WebDatabaseObserverImpl; 49 class WebDatabaseObserverImpl;
50 class WebFileSystemImpl; 50 class WebFileSystemImpl;
51 51
52 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl 52 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
53 : public BlinkPlatformImpl { 53 : public BlinkPlatformImpl {
54 public: 54 public:
55 RendererWebKitPlatformSupportImpl(); 55 RendererWebKitPlatformSupportImpl();
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // Factory that takes a type and return PlatformEventObserverBase that matches 188 // Factory that takes a type and return PlatformEventObserverBase that matches
189 // it. 189 // it.
190 static PlatformEventObserverBase* CreatePlatformEventObserverFromType( 190 static PlatformEventObserverBase* CreatePlatformEventObserverFromType(
191 blink::WebPlatformEventType type); 191 blink::WebPlatformEventType type);
192 192
193 // Use the data previously set via SetMockDevice...DataForTesting() and send 193 // Use the data previously set via SetMockDevice...DataForTesting() and send
194 // them to the registered listener. 194 // them to the registered listener.
195 void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type); 195 void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type);
196 196
197 scoped_ptr<RendererClipboardClient> clipboard_client_; 197 scoped_ptr<RendererClipboardDelegate> clipboard_delegate_;
198 scoped_ptr<WebClipboardImpl> clipboard_; 198 scoped_ptr<WebClipboardImpl> clipboard_;
199 199
200 class FileUtilities; 200 class FileUtilities;
201 scoped_ptr<FileUtilities> file_utilities_; 201 scoped_ptr<FileUtilities> file_utilities_;
202 202
203 class MimeRegistry; 203 class MimeRegistry;
204 scoped_ptr<MimeRegistry> mime_registry_; 204 scoped_ptr<MimeRegistry> mime_registry_;
205 205
206 class SandboxSupport; 206 class SandboxSupport;
207 scoped_ptr<SandboxSupport> sandbox_support_; 207 scoped_ptr<SandboxSupport> sandbox_support_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; 239 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_;
240 240
241 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 241 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
242 242
243 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); 243 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl);
244 }; 244 };
245 245
246 } // namespace content 246 } // namespace content
247 247
248 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 248 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698