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

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 250063003: Pepper: Move IME workaround from the trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile error Created 6 years, 8 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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 virtual bool FlashSetFullscreen(bool fullscreen, bool delay_report) OVERRIDE; 356 virtual bool FlashSetFullscreen(bool fullscreen, bool delay_report) OVERRIDE;
357 virtual bool IsRectTopmost(const gfx::Rect& rect) OVERRIDE; 357 virtual bool IsRectTopmost(const gfx::Rect& rect) OVERRIDE;
358 virtual int32_t Navigate(const ppapi::URLRequestInfoData& request, 358 virtual int32_t Navigate(const ppapi::URLRequestInfoData& request,
359 const char* target, 359 const char* target,
360 bool from_user_action) OVERRIDE; 360 bool from_user_action) OVERRIDE;
361 virtual int MakePendingFileRefRendererHost(const base::FilePath& path) 361 virtual int MakePendingFileRefRendererHost(const base::FilePath& path)
362 OVERRIDE; 362 OVERRIDE;
363 virtual void SetEmbedProperty(PP_Var key, PP_Var value) OVERRIDE; 363 virtual void SetEmbedProperty(PP_Var key, PP_Var value) OVERRIDE;
364 virtual void SetSelectedText(const base::string16& selected_text) OVERRIDE; 364 virtual void SetSelectedText(const base::string16& selected_text) OVERRIDE;
365 virtual void SetLinkUnderCursor(const std::string& url) OVERRIDE; 365 virtual void SetLinkUnderCursor(const std::string& url) OVERRIDE;
366 virtual void SetTextInputType(ui::TextInputType type) OVERRIDE;
366 367
367 // PPB_Instance_API implementation. 368 // PPB_Instance_API implementation.
368 virtual PP_Bool BindGraphics(PP_Instance instance, 369 virtual PP_Bool BindGraphics(PP_Instance instance,
369 PP_Resource device) OVERRIDE; 370 PP_Resource device) OVERRIDE;
370 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; 371 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE;
371 virtual const ppapi::ViewData* GetViewData(PP_Instance instance) OVERRIDE; 372 virtual const ppapi::ViewData* GetViewData(PP_Instance instance) OVERRIDE;
372 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; 373 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
373 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; 374 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE;
374 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; 375 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE;
375 virtual PP_Var ExecuteScript(PP_Instance instance, 376 virtual PP_Var ExecuteScript(PP_Instance instance,
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 874 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
874 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 875 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
875 876
876 friend class PpapiPluginInstanceTest; 877 friend class PpapiPluginInstanceTest;
877 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 878 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
878 }; 879 };
879 880
880 } // namespace content 881 } // namespace content
881 882
882 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 883 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/fake_pepper_plugin_instance.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698