Home | History | Annotate | Download | only in printing

Lines Matching refs:content

12 #include "content/public/browser/notification_observer.h"
13 #include "content/public/browser/notification_registrar.h"
17 namespace content {
33 public content::NotificationObserver {
41 static void PrintPreview(content::WebContents* initiator);
45 content::WebContents* GetOrCreatePreviewDialog(
46 content::WebContents* initiator);
51 content::WebContents* GetPrintPreviewForContents(
52 content::WebContents* contents) const;
56 content::WebContents* GetInitiator(content::WebContents* preview_dialog);
58 // content::NotificationObserver implementation.
60 const content::NotificationSource& source,
61 const content::NotificationDetails& details) OVERRIDE;
64 static bool IsPrintPreviewDialog(content::WebContents* contents);
70 void EraseInitiatorInfo(content::WebContents* preview_dialog);
82 typedef std::map<content::WebContents*, content::WebContents*>
89 void OnRendererProcessClosed(content::RenderProcessHost* rph);
93 void OnWebContentsDestroyed(content::WebContents* contents);
97 void OnNavEntryCommitted(content::WebContents* contents,
98 content::LoadCommittedDetails* details);
101 content::WebContents* CreatePrintPreviewDialog(
102 content::WebContents* initiator);
106 void SaveInitiatorTitle(content::WebContents* preview_dialog);
109 void AddObservers(content::WebContents* contents);
110 void RemoveObservers(content::WebContents* contents);
113 void RemoveInitiator(content::WebContents* initiator);
114 void RemovePreviewDialog(content::WebContents* preview_dialog);
120 content::NotificationRegistrar registrar_;
123 // content::NAVIGATION_TYPE_NEW_PAGE.