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

Unified Diff: chrome/browser/ui/views/extensions/extension_dialog.h

Issue 8497008: Implement Bookmark All Tabs Dialog with WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/views/extensions/extension_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/extension_dialog.h
diff --git a/chrome/browser/ui/views/extensions/extension_dialog.h b/chrome/browser/ui/views/extensions/extension_dialog.h
index 1f159e1b3521ce86e87e8722d323864da051b1c8..d09852f0f59a9167bf9ad193de9e8e5005547671 100644
--- a/chrome/browser/ui/views/extensions/extension_dialog.h
+++ b/chrome/browser/ui/views/extensions/extension_dialog.h
@@ -39,6 +39,7 @@ class ExtensionDialog : public views::WidgetDelegate,
TabContents* tab_contents,
int width,
int height,
+ const string16& title,
ExtensionDialogObserver* observer);
// Notifies the dialog that the observer has been destroyed and should not
@@ -48,12 +49,16 @@ class ExtensionDialog : public views::WidgetDelegate,
// Closes the ExtensionDialog.
void Close();
+ // Sets the window title.
+ void set_title(const string16& title) { window_title_ = title; }
+
ExtensionHost* host() const { return extension_host_.get(); }
// views::WidgetDelegate overrides.
virtual bool CanResize() const OVERRIDE;
virtual bool IsModal() const OVERRIDE;
virtual bool ShouldShowWindowTitle() const OVERRIDE;
+ virtual string16 GetWindowTitle() const OVERRIDE;
virtual void DeleteDelegate() OVERRIDE;
virtual views::Widget* GetWidget() OVERRIDE;
virtual const views::Widget* GetWidget() const OVERRIDE;
@@ -76,6 +81,9 @@ class ExtensionDialog : public views::WidgetDelegate,
// Window that holds the extension host view.
views::Widget* window_;
+ // Window Title
+ string16 window_title_;
+
// The contained host for the view.
scoped_ptr<ExtensionHost> extension_host_;
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/views/extensions/extension_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698