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

Unified Diff: chrome/browser/ui/webui/print_preview_ui.h

Issue 7818010: Print Preview: Populating print preview tab title as soon as it is known. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing corner case Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/print_preview_ui.h
diff --git a/chrome/browser/ui/webui/print_preview_ui.h b/chrome/browser/ui/webui/print_preview_ui.h
index 52a52f3232c8618d99b74ffa902247ba7e656f46..125fd4b8eb85eb7b1956640fb1bd4fa0f800a6b8 100644
--- a/chrome/browser/ui/webui/print_preview_ui.h
+++ b/chrome/browser/ui/webui/print_preview_ui.h
@@ -48,6 +48,9 @@ class PrintPreviewUI : public ChromeWebUI {
void SetInitiatorTabURLAndTitle(const std::string& initiator_url,
const string16& initiator_tab_title);
+ // Notify the Web UI about the initiator tab title.
+ void OnGetInitiatorTabTitle();
kmadhusu 2011/09/02 18:50:20 Can you rename this function to SendInitiatorTabTi
dpapad 2011/09/03 00:10:29 Done.
+
// Determines whether to cancel a print preview request based on
// |preview_ui_addr| and |request_id|.
// Can be called from any thread.

Powered by Google App Engine
This is Rietveld 408576698