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

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

Issue 8741010: TaskManager: Added functionality to remember the size of the task manager dialog. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed merge conflicts. Created 9 years 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/gtk/html_dialog_gtk.cc ('k') | chrome/browser/ui/webui/task_manager_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/html_dialog_ui.h
diff --git a/chrome/browser/ui/webui/html_dialog_ui.h b/chrome/browser/ui/webui/html_dialog_ui.h
index da90b8f35b8f833985ef53b5a8774ddd29ec8401..e760aa00df66582909b6fe67cfebf0d665a206b9 100644
--- a/chrome/browser/ui/webui/html_dialog_ui.h
+++ b/chrome/browser/ui/webui/html_dialog_ui.h
@@ -12,6 +12,7 @@
#include "base/string16.h"
#include "chrome/browser/ui/webui/chrome_web_ui.h"
#include "googleurl/src/gurl.h"
+#include "ui/gfx/rect.h"
struct ContextMenuParams;
@@ -69,6 +70,9 @@ class HtmlDialogUIDelegate {
// customized menu.
virtual bool HandleContextMenu(const ContextMenuParams& params);
+ // Stores the dialog bounds.
+ virtual void StoreDialogSize(const gfx::Rect dialog_bounds) {}
+
protected:
virtual ~HtmlDialogUIDelegate() {}
};
« no previous file with comments | « chrome/browser/ui/gtk/html_dialog_gtk.cc ('k') | chrome/browser/ui/webui/task_manager_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698