diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 17:47:43 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 17:47:43 +0000 |
commit | 68c477df6917633a7a9c64f8624446ca0bd895d5 (patch) | |
tree | a270354aa75de9516ba5b150568bb1d142b24b1c /views/window/dialog_client_view.h | |
parent | 8a9c6c3401524c0a4b5d37d65335e9124885305a (diff) | |
download | chromium_src-68c477df6917633a7a9c64f8624446ca0bd895d5.zip chromium_src-68c477df6917633a7a9c64f8624446ca0bd895d5.tar.gz chromium_src-68c477df6917633a7a9c64f8624446ca0bd895d5.tar.bz2 |
Move more from Window onto Widget.
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/7054052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/dialog_client_view.h')
-rw-r--r-- | views/window/dialog_client_view.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/window/dialog_client_view.h b/views/window/dialog_client_view.h index 4a3155a..27365b5 100644 --- a/views/window/dialog_client_view.h +++ b/views/window/dialog_client_view.h @@ -15,7 +15,7 @@ namespace views { class DialogDelegate; class NativeButton; -class Window; +class Widget; namespace internal { class RootView; } @@ -36,15 +36,15 @@ class DialogClientView : public ClientView, public ButtonListener, public FocusChangeListener { public: - DialogClientView(Window* window, View* contents_view); + DialogClientView(Widget* widget, View* contents_view); virtual ~DialogClientView(); - // Adds the dialog buttons required by the supplied WindowDelegate to the + // Adds the dialog buttons required by the supplied DialogDelegate to the // view. void ShowDialogButtons(); // Updates the enabled state and label of the buttons required by the - // supplied WindowDelegate + // supplied DialogDelegate void UpdateDialogButtons(); // Accept the changes made in the window that contains this ClientView. @@ -70,7 +70,7 @@ class DialogClientView : public ClientView, // Overridden from ClientView: virtual bool CanClose() OVERRIDE; - virtual void WindowClosing() OVERRIDE; + virtual void WidgetClosing() OVERRIDE; virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; virtual DialogClientView* AsDialogClientView() OVERRIDE; @@ -116,7 +116,7 @@ class DialogClientView : public ClientView, // Returns the DialogDelegate for the window. DialogDelegate* GetDialogDelegate() const; - // Closes the window. + // Closes the widget. void Close(); // Updates focus listener. |