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

Side by Side Diff: content/public/renderer/pepper_plugin_instance.h

Issue 705623002: Initialize V8 in PDFium from external files (in-renderer process only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Ross and Raymes Created 6 years, 1 month 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
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_PUBLIC_RENDERER_PEPPER_PLUGIN_INSTANCE_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_PEPPER_PLUGIN_INSTANCE_H_
6 #define CONTENT_PUBLIC_RENDERER_PEPPER_PLUGIN_INSTANCE_H_ 6 #define CONTENT_PUBLIC_RENDERER_PEPPER_PLUGIN_INSTANCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/process/process_handle.h" 9 #include "base/process/process_handle.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual void SetSelectedText(const base::string16& selected_text) = 0; 110 virtual void SetSelectedText(const base::string16& selected_text) = 0;
111 111
112 // Sets the link currently under the cursor. 112 // Sets the link currently under the cursor.
113 virtual void SetLinkUnderCursor(const std::string& url) = 0; 113 virtual void SetLinkUnderCursor(const std::string& url) = 0;
114 114
115 // Sets the text input type for this plugin. 115 // Sets the text input type for this plugin.
116 virtual void SetTextInputType(ui::TextInputType type) = 0; 116 virtual void SetTextInputType(ui::TextInputType type) = 0;
117 117
118 // Posts a message to the JavaScript object for this instance. 118 // Posts a message to the JavaScript object for this instance.
119 virtual void PostMessageToJavaScript(PP_Var message) = 0; 119 virtual void PostMessageToJavaScript(PP_Var message) = 0;
120
121 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
raymes 2014/11/10 03:29:06 nit: we can get rid of this ifdef
baixo1 2014/11/10 15:59:48 Done.
122 virtual void GetV8ExternalSnapshotData(const char** natives_data_out,
123 int* natives_size_out,
124 const char** snapshot_data_out,
125 int* snapshot_size_out) const = 0;
126 #endif
120 }; 127 };
121 128
122 } // namespace content 129 } // namespace content
123 130
124 #endif // CONTENT_PUBLIC_RENDERER_PEPPER_PLUGIN_INSTANCE_H_ 131 #endif // CONTENT_PUBLIC_RENDERER_PEPPER_PLUGIN_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698