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 18 matching lines...) Expand all Loading... |
29 const IPC::ChannelHandle& channel_handle, | 29 const IPC::ChannelHandle& channel_handle, |
30 base::ProcessId plugin_pid, | 30 base::ProcessId plugin_pid, |
31 int plugin_child_id) OVERRIDE; | 31 int plugin_child_id) OVERRIDE; |
32 virtual void SetAlwaysOnTop(bool on_top) OVERRIDE; | 32 virtual void SetAlwaysOnTop(bool on_top) OVERRIDE; |
33 virtual bool IsFullPagePlugin() OVERRIDE; | 33 virtual bool IsFullPagePlugin() OVERRIDE; |
34 virtual bool FlashSetFullscreen(bool fullscreen, bool delay_report) OVERRIDE; | 34 virtual bool FlashSetFullscreen(bool fullscreen, bool delay_report) OVERRIDE; |
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( | 39 virtual int MakePendingFileRefRendererHost(const base::FilePath& path) |
40 const base::FilePath& path) 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 | 44 |
45 private: | 45 private: |
46 GURL gurl_; | 46 GURL gurl_; |
47 }; | 47 }; |
48 | 48 |
49 } // namespace content | 49 } // namespace content |
50 | 50 |
51 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ | 51 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ |
OLD | NEW |