| Index: chrome/browser/printing/print_view_manager_common.h
|
| diff --git a/chrome/browser/printing/print_view_manager_common.h b/chrome/browser/printing/print_view_manager_common.h
|
| index 6e1064042731c79c1e0a53e42d5260082066b744..70a401b8c925649feafc1a943e09b41cf7eb983e 100644
|
| --- a/chrome/browser/printing/print_view_manager_common.h
|
| +++ b/chrome/browser/printing/print_view_manager_common.h
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
|
|
|
| namespace content {
|
| +class RenderFrameHost;
|
| class WebContents;
|
| }
|
|
|
| @@ -14,13 +15,17 @@ namespace printing {
|
| // Start printing using the appropriate PrintViewManagerBase subclass.
|
| void StartPrint(content::WebContents* web_contents,
|
| bool print_preview_disabled,
|
| - bool selection_only);
|
| + bool has_selection);
|
|
|
| #if defined(ENABLE_BASIC_PRINTING)
|
| // Start printing using the system print dialog.
|
| void StartBasicPrint(content::WebContents* contents);
|
| #endif
|
|
|
| +// If the user has selected text in the currently focused frame, print only that
|
| +// frame (this makes print selection work for multiple frames).
|
| +content::RenderFrameHost* GetFrameToPrint(content::WebContents* contents);
|
| +
|
| } // namespace printing
|
|
|
| #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
|
|
|