diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 23:18:47 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 23:18:47 +0000 |
commit | ef5a74baa839a9a826e37eea4f7750cd55758fc8 (patch) | |
tree | 529b2dbf24ea091843dba0f72f80baba5240f327 /views/window/dialog_client_view.h | |
parent | 65127279b152049393928bf9a520fc26d4ede77d (diff) | |
download | chromium_src-ef5a74baa839a9a826e37eea4f7750cd55758fc8.zip chromium_src-ef5a74baa839a9a826e37eea4f7750cd55758fc8.tar.gz chromium_src-ef5a74baa839a9a826e37eea4f7750cd55758fc8.tar.bz2 |
Adds link to flash settings on clear browser data panel.
BUG=none
TEST=bring up clear browsing data dialog and make sure it has a link
to flash storage settings.
Review URL: http://codereview.chromium.org/570030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/dialog_client_view.h')
-rw-r--r-- | views/window/dialog_client_view.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/views/window/dialog_client_view.h b/views/window/dialog_client_view.h index d7a5fb2..e23e346 100644 --- a/views/window/dialog_client_view.h +++ b/views/window/dialog_client_view.h @@ -25,6 +25,9 @@ class Window; // embedded contents view to provide extra UI to be shown in the row of // buttons. // +// DialogClientView also provides the ability to set an arbitrary view that is +// positioned beneath the buttons. +// class DialogClientView : public ClientView, public ButtonListener, public FocusChangeListener { @@ -50,6 +53,11 @@ class DialogClientView : public ClientView, NativeButton* ok_button() const { return ok_button_; } NativeButton* cancel_button() const { return cancel_button_; } + // Sets the view that is positioned along the bottom of the buttons. The + // bottom view is positioned beneath the buttons at the full width of the + // dialog. If there is an existing bottom view it is removed and deleted. + void SetBottomView(View* bottom_view); + // Overridden from View: virtual void NativeViewHierarchyChanged(bool attached, gfx::NativeView native_view, @@ -106,6 +114,8 @@ class DialogClientView : public ClientView, // Updates focus listener. void UpdateFocusListener(); + static void InitClass(); + // The dialog buttons. NativeButton* ok_button_; NativeButton* cancel_button_; @@ -128,8 +138,10 @@ class DialogClientView : public ClientView, // When ancestor gets changed focus manager gets changed as well. FocusManager* saved_focus_manager_; + // View positioned along the bottom, beneath the buttons. + View* bottom_view_; + // Static resource initialization - static void InitClass(); static gfx::Font* dialog_button_font_; DISALLOW_COPY_AND_ASSIGN(DialogClientView); |