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 23 matching lines...) Expand all Loading... | |
34 bool IsRectTopmost(const gfx::Rect& rect) override; | 34 bool IsRectTopmost(const gfx::Rect& rect) override; |
35 int32_t Navigate(const ppapi::URLRequestInfoData& request, | 35 int32_t Navigate(const ppapi::URLRequestInfoData& request, |
36 const char* target, | 36 const char* target, |
37 bool from_user_action) override; | 37 bool from_user_action) override; |
38 int MakePendingFileRefRendererHost(const base::FilePath& path) override; | 38 int MakePendingFileRefRendererHost(const base::FilePath& path) override; |
39 void SetEmbedProperty(PP_Var key, PP_Var value) override; | 39 void SetEmbedProperty(PP_Var key, PP_Var value) override; |
40 void SetSelectedText(const base::string16& selected_text) override; | 40 void SetSelectedText(const base::string16& selected_text) override; |
41 void SetLinkUnderCursor(const std::string& url) override; | 41 void SetLinkUnderCursor(const std::string& url) override; |
42 void SetTextInputType(ui::TextInputType type) override; | 42 void SetTextInputType(ui::TextInputType type) override; |
43 void PostMessageToJavaScript(PP_Var message) override; | 43 void PostMessageToJavaScript(PP_Var message) override; |
44 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | |
raymes
2014/11/10 03:29:06
nit: and this
baixo1
2014/11/10 15:59:48
Done.
| |
45 void GetV8ExternalSnapshotData(const char** natives_data_out, | |
46 int* natives_size_out, | |
47 const char** snapshot_data_out, | |
48 int* snapshot_size_out) const override; | |
49 #endif | |
44 | 50 |
45 private: | 51 private: |
46 GURL gurl_; | 52 GURL gurl_; |
47 }; | 53 }; |
48 | 54 |
49 } // namespace content | 55 } // namespace content |
50 | 56 |
51 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ | 57 #endif // CONTENT_RENDERER_PEPPER_FAKE_PEPPER_PLUGIN_INSTANCE_H_ |
OLD | NEW |