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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 8769003: Pepper IME API for surrounding text retrieval. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort. Created 8 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 | Annotate | Revision Log
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 WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
11 namespace webkit_glue { class ClipboardClient; } 11 namespace webkit_glue { class ClipboardClient; }
12 12
13 namespace webkit { 13 namespace webkit {
14 namespace ppapi { 14 namespace ppapi {
15 15
16 class MockPluginDelegate : public PluginDelegate { 16 class MockPluginDelegate : public PluginDelegate {
17 public: 17 public:
18 MockPluginDelegate(); 18 MockPluginDelegate();
19 virtual ~MockPluginDelegate(); 19 virtual ~MockPluginDelegate();
20 20
21 virtual void PluginFocusChanged(PluginInstance* instance, bool focused); 21 virtual void PluginFocusChanged(PluginInstance* instance, bool focused);
22 virtual void PluginTextInputTypeChanged(PluginInstance* instance); 22 virtual void PluginTextInputTypeChanged(PluginInstance* instance);
23 virtual void PluginCaretPositionChanged(PluginInstance* instance); 23 virtual void PluginCaretPositionChanged(PluginInstance* instance);
24 virtual void PluginRequestedCancelComposition(PluginInstance* instance); 24 virtual void PluginRequestedCancelComposition(PluginInstance* instance);
25 virtual void PluginSelectionChanged(PluginInstance* instance);
25 virtual void PluginCrashed(PluginInstance* instance); 26 virtual void PluginCrashed(PluginInstance* instance);
26 virtual void InstanceCreated(PluginInstance* instance); 27 virtual void InstanceCreated(PluginInstance* instance);
27 virtual void InstanceDeleted(PluginInstance* instance); 28 virtual void InstanceDeleted(PluginInstance* instance);
28 virtual SkBitmap* GetSadPluginBitmap(); 29 virtual SkBitmap* GetSadPluginBitmap();
29 virtual PlatformImage2D* CreateImage2D(int width, int height); 30 virtual PlatformImage2D* CreateImage2D(int width, int height);
30 virtual PlatformContext3D* CreateContext3D(); 31 virtual PlatformContext3D* CreateContext3D();
31 virtual PlatformVideoDecoder* CreateVideoDecoder( 32 virtual PlatformVideoDecoder* CreateVideoDecoder(
32 media::VideoDecodeAccelerator::Client* client, 33 media::VideoDecodeAccelerator::Client* client,
33 int32 command_buffer_route_id); 34 int32 command_buffer_route_id);
34 virtual PlatformVideoCapture* CreateVideoCapture( 35 virtual PlatformVideoCapture* CreateVideoCapture(
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 virtual bool IsPageVisible() const; 174 virtual bool IsPageVisible() const;
174 virtual int EnumerateDevices(PP_DeviceType_Dev type, 175 virtual int EnumerateDevices(PP_DeviceType_Dev type,
175 const EnumerateDevicesCallback& callback); 176 const EnumerateDevicesCallback& callback);
176 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 177 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
177 }; 178 };
178 179
179 } // namespace ppapi 180 } // namespace ppapi
180 } // namespace webkit 181 } // namespace webkit
181 182
182 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 183 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698