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

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

Issue 268793002: Pepper: Move DoPostMessage out of trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix threading behavior Created 6 years, 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_FAKE_PEPPER_PLUGIN_INSTANCE_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_
6 #define CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ 6 #define CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_
7 7
8 #include "content/public/renderer/pepper_plugin_instance.h" 8 #include "content/public/renderer/pepper_plugin_instance.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 24 matching lines...) Expand all
35 virtual bool IsRectTopmost(const gfx::Rect& rect) OVERRIDE; 35 virtual bool IsRectTopmost(const gfx::Rect& rect) OVERRIDE;
36 virtual int32_t Navigate(const ppapi::URLRequestInfoData& request, 36 virtual int32_t Navigate(const ppapi::URLRequestInfoData& request,
37 const char* target, 37 const char* target,
38 bool from_user_action) OVERRIDE; 38 bool from_user_action) OVERRIDE;
39 virtual int MakePendingFileRefRendererHost(const base::FilePath& path) 39 virtual int MakePendingFileRefRendererHost(const base::FilePath& path)
40 OVERRIDE; 40 OVERRIDE;
41 virtual void SetEmbedProperty(PP_Var key, PP_Var value) OVERRIDE; 41 virtual void SetEmbedProperty(PP_Var key, PP_Var value) OVERRIDE;
42 virtual void SetSelectedText(const base::string16& selected_text) OVERRIDE; 42 virtual void SetSelectedText(const base::string16& selected_text) OVERRIDE;
43 virtual void SetLinkUnderCursor(const std::string& url) OVERRIDE; 43 virtual void SetLinkUnderCursor(const std::string& url) OVERRIDE;
44 virtual void SetTextInputType(ui::TextInputType type) OVERRIDE; 44 virtual void SetTextInputType(ui::TextInputType type) OVERRIDE;
45 virtual void PostMessageToJavaScript(PP_Var message) OVERRIDE;
45 46
46 private: 47 private:
47 GURL gurl_; 48 GURL gurl_;
48 }; 49 };
49 50
50 } // namespace content 51 } // namespace content
51 52
52 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ 53 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « content/public/renderer/pepper_plugin_instance.h ('k') | content/renderer/pepper/fake_pepper_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698