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

Side by Side Diff: ui/views/window/dialog_delegate.h

Issue 11953066: Reland 179231 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_ 5 #ifndef UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
6 #define UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_ 6 #define UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "ui/base/accessibility/accessibility_types.h" 10 #include "ui/base/accessibility/accessibility_types.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 public: 118 public:
119 DialogDelegateView(); 119 DialogDelegateView();
120 virtual ~DialogDelegateView(); 120 virtual ~DialogDelegateView();
121 121
122 // Create a |dialog| window Widget with the specified |context| or |parent|. 122 // Create a |dialog| window Widget with the specified |context| or |parent|.
123 static Widget* CreateDialogWidget(DialogDelegateView* dialog, 123 static Widget* CreateDialogWidget(DialogDelegateView* dialog,
124 gfx::NativeWindow context, 124 gfx::NativeWindow context,
125 gfx::NativeWindow parent); 125 gfx::NativeWindow parent);
126 126
127 // Overridden from DialogDelegate: 127 // Overridden from DialogDelegate:
128 virtual void DeleteDelegate() OVERRIDE;
128 virtual Widget* GetWidget() OVERRIDE; 129 virtual Widget* GetWidget() OVERRIDE;
129 virtual const Widget* GetWidget() const OVERRIDE; 130 virtual const Widget* GetWidget() const OVERRIDE;
130 virtual View* GetContentsView() OVERRIDE; 131 virtual View* GetContentsView() OVERRIDE;
131 132
132 private: 133 private:
133 DISALLOW_COPY_AND_ASSIGN(DialogDelegateView); 134 DISALLOW_COPY_AND_ASSIGN(DialogDelegateView);
134 }; 135 };
135 136
136 } // namespace views 137 } // namespace views
137 138
138 #endif // UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_ 139 #endif // UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698