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

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: Merge master. 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
« no previous file with comments | « webkit/plugins/ppapi/DEPS ('k') | webkit/plugins/ppapi/mock_plugin_delegate.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 (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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 virtual bool IsPageVisible() const; 181 virtual bool IsPageVisible() const;
181 virtual int EnumerateDevices(PP_DeviceType_Dev type, 182 virtual int EnumerateDevices(PP_DeviceType_Dev type,
182 const EnumerateDevicesCallback& callback); 183 const EnumerateDevicesCallback& callback);
183 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 184 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
184 }; 185 };
185 186
186 } // namespace ppapi 187 } // namespace ppapi
187 } // namespace webkit 188 } // namespace webkit
188 189
189 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 190 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/DEPS ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698