Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 376 bool IsRectTopmost(const gfx::Rect& rect) override; | 376 bool IsRectTopmost(const gfx::Rect& rect) override; |
| 377 int32_t Navigate(const ppapi::URLRequestInfoData& request, | 377 int32_t Navigate(const ppapi::URLRequestInfoData& request, |
| 378 const char* target, | 378 const char* target, |
| 379 bool from_user_action) override; | 379 bool from_user_action) override; |
| 380 int MakePendingFileRefRendererHost(const base::FilePath& path) override; | 380 int MakePendingFileRefRendererHost(const base::FilePath& path) override; |
| 381 void SetEmbedProperty(PP_Var key, PP_Var value) override; | 381 void SetEmbedProperty(PP_Var key, PP_Var value) override; |
| 382 void SetSelectedText(const base::string16& selected_text) override; | 382 void SetSelectedText(const base::string16& selected_text) override; |
| 383 void SetLinkUnderCursor(const std::string& url) override; | 383 void SetLinkUnderCursor(const std::string& url) override; |
| 384 void SetTextInputType(ui::TextInputType type) override; | 384 void SetTextInputType(ui::TextInputType type) override; |
| 385 void PostMessageToJavaScript(PP_Var message) override; | 385 void PostMessageToJavaScript(PP_Var message) override; |
| 386 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | |
|
raymes
2014/11/10 03:29:06
and this
baixo1
2014/11/10 15:59:48
Done.
| |
| 387 void GetV8ExternalSnapshotData(const char** natives_data_out, | |
| 388 int* natives_size_out, | |
| 389 const char** snapshot_data_out, | |
| 390 int* snapshot_size_out) const override; | |
| 391 #endif | |
| 386 | 392 |
| 387 // PPB_Instance_API implementation. | 393 // PPB_Instance_API implementation. |
| 388 PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) override; | 394 PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) override; |
| 389 PP_Bool IsFullFrame(PP_Instance instance) override; | 395 PP_Bool IsFullFrame(PP_Instance instance) override; |
| 390 const ppapi::ViewData* GetViewData(PP_Instance instance) override; | 396 const ppapi::ViewData* GetViewData(PP_Instance instance) override; |
| 391 PP_Bool FlashIsFullscreen(PP_Instance instance) override; | 397 PP_Bool FlashIsFullscreen(PP_Instance instance) override; |
| 392 PP_Var GetWindowObject(PP_Instance instance) override; | 398 PP_Var GetWindowObject(PP_Instance instance) override; |
| 393 PP_Var GetOwnerElementObject(PP_Instance instance) override; | 399 PP_Var GetOwnerElementObject(PP_Instance instance) override; |
| 394 PP_Var ExecuteScript(PP_Instance instance, | 400 PP_Var ExecuteScript(PP_Instance instance, |
| 395 PP_Var script, | 401 PP_Var script, |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 929 // view change events. | 935 // view change events. |
| 930 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 936 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 931 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 937 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 932 | 938 |
| 933 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 939 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 934 }; | 940 }; |
| 935 | 941 |
| 936 } // namespace content | 942 } // namespace content |
| 937 | 943 |
| 938 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 944 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |