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

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 2599713002: Use explicit WebString <-> string{16,} conversion methods in content/renderer/pepper (Closed)
Patch Set: . Created 3 years, 12 months 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) 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // send Flush callbacks to the plugin for Graphics2D/3D. 259 // send Flush callbacks to the plugin for Graphics2D/3D.
260 void ViewInitiatedPaint(); 260 void ViewInitiatedPaint();
261 261
262 // Tracks all live PluginObjects. 262 // Tracks all live PluginObjects.
263 void AddPluginObject(PluginObject* plugin_object); 263 void AddPluginObject(PluginObject* plugin_object);
264 void RemovePluginObject(PluginObject* plugin_object); 264 void RemovePluginObject(PluginObject* plugin_object);
265 265
266 base::string16 GetSelectedText(bool html); 266 base::string16 GetSelectedText(bool html);
267 base::string16 GetLinkAtPosition(const gfx::Point& point); 267 base::string16 GetLinkAtPosition(const gfx::Point& point);
268 void RequestSurroundingText(size_t desired_number_of_characters); 268 void RequestSurroundingText(size_t desired_number_of_characters);
269 bool StartFind(const base::string16& search_text, 269 bool StartFind(const std::string& search_text,
270 bool case_sensitive, 270 bool case_sensitive,
271 int identifier); 271 int identifier);
272 void SelectFindResult(bool forward, int identifier); 272 void SelectFindResult(bool forward, int identifier);
273 void StopFind(); 273 void StopFind();
274 274
275 bool SupportsPrintInterface(); 275 bool SupportsPrintInterface();
276 bool IsPrintScalingDisabled(); 276 bool IsPrintScalingDisabled();
277 int PrintBegin(const blink::WebPrintParams& print_params); 277 int PrintBegin(const blink::WebPrintParams& print_params);
278 void PrintPage(int page_number, blink::WebCanvas* canvas); 278 void PrintPage(int page_number, blink::WebCanvas* canvas);
279 void PrintEnd(); 279 void PrintEnd();
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 // view change events. 988 // view change events.
989 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 989 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
990 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 990 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
991 991
992 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 992 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
993 }; 993 };
994 994
995 } // namespace content 995 } // namespace content
996 996
997 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 997 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698