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

Unified Diff: views/window/dialog_client_view.h

Issue 7054052: Move more from Window onto Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « views/window/client_view.cc ('k') | views/window/dialog_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/dialog_client_view.h
===================================================================
--- views/window/dialog_client_view.h (revision 88218)
+++ views/window/dialog_client_view.h (working copy)
@@ -15,7 +15,7 @@
class DialogDelegate;
class NativeButton;
-class Window;
+class Widget;
namespace internal {
class RootView;
}
@@ -36,15 +36,15 @@
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 @@
// 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 @@
// Returns the DialogDelegate for the window.
DialogDelegate* GetDialogDelegate() const;
- // Closes the window.
+ // Closes the widget.
void Close();
// Updates focus listener.
« no previous file with comments | « views/window/client_view.cc ('k') | views/window/dialog_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698