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

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

Issue 7977017: Never submit: tentative Pepper IME. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_old.h" 10 #include "base/callback_old.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // When there are no more references, this renderer's dispatcher is 238 // When there are no more references, this renderer's dispatcher is
239 // destroyed, allowing the broker to shutdown if appropriate. 239 // destroyed, allowing the broker to shutdown if appropriate.
240 // Callers should not reference this object after calling Disconnect. 240 // Callers should not reference this object after calling Disconnect.
241 virtual void Disconnect(webkit::ppapi::PPB_Broker_Impl* client) = 0; 241 virtual void Disconnect(webkit::ppapi::PPB_Broker_Impl* client) = 0;
242 242
243 protected: 243 protected:
244 virtual ~PpapiBroker() {} 244 virtual ~PpapiBroker() {}
245 }; 245 };
246 246
247 // Notification that the given plugin is focused or unfocused. 247 // Notification that the given plugin is focused or unfocused.
248 virtual void PluginFocusChanged(bool focused) = 0; 248 virtual void PluginFocusChanged(webkit::ppapi::PluginInstance* instance,
249 bool focused) = 0;
250 // Notification that the text input status of the given plugin is changed.
251 virtual void PluginTextInputTypeChanged(
252 webkit::ppapi::PluginInstance* instance) = 0;
249 253
250 // Notification that the given plugin has crashed. When a plugin crashes, all 254 // Notification that the given plugin has crashed. When a plugin crashes, all
251 // instances associated with that plugin will notify that they've crashed via 255 // instances associated with that plugin will notify that they've crashed via
252 // this function. 256 // this function.
253 virtual void PluginCrashed(PluginInstance* instance) = 0; 257 virtual void PluginCrashed(PluginInstance* instance) = 0;
254 258
255 // Indicates that the given instance has been created. 259 // Indicates that the given instance has been created.
256 virtual void InstanceCreated(PluginInstance* instance) = 0; 260 virtual void InstanceCreated(PluginInstance* instance) = 0;
257 261
258 // Indicates that the given instance is being destroyed. This is called from 262 // Indicates that the given instance is being destroyed. This is called from
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) = 0; 449 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) = 0;
446 450
447 // Returns the current preferences. 451 // Returns the current preferences.
448 virtual ::ppapi::Preferences GetPreferences() = 0; 452 virtual ::ppapi::Preferences GetPreferences() = 0;
449 }; 453 };
450 454
451 } // namespace ppapi 455 } // namespace ppapi
452 } // namespace webkit 456 } // namespace webkit
453 457
454 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 458 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698