| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |