| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 base::string16& search_text, |
| 269 bool case_sensitive, | 269 bool case_sensitive, |
| 270 int identifier); | 270 int identifier); |
| 271 void SelectFindResult(bool forward); | 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(); |
| 279 bool GetPrintPresetOptionsFromDocument( | 279 bool GetPrintPresetOptionsFromDocument( |
| 280 blink::WebPrintPresetOptions* preset_options); | 280 blink::WebPrintPresetOptions* preset_options); |
| 281 | 281 |
| (...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 // view change events. | 984 // view change events. |
| 985 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 985 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 986 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 986 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 987 | 987 |
| 988 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 988 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 989 }; | 989 }; |
| 990 | 990 |
| 991 } // namespace content | 991 } // namespace content |
| 992 | 992 |
| 993 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 993 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |