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

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

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

Powered by Google App Engine
This is Rietveld 408576698