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

Side by Side Diff: chrome/browser/ui/input_window_dialog_win.cc

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/ui/input_window_dialog.h" 5 #include "chrome/browser/ui/input_window_dialog.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } 213 }
214 214
215 WinInputWindowDialog::~WinInputWindowDialog() { 215 WinInputWindowDialog::~WinInputWindowDialog() {
216 } 216 }
217 217
218 void WinInputWindowDialog::Show() { 218 void WinInputWindowDialog::Show() {
219 window_->Show(); 219 window_->Show();
220 } 220 }
221 221
222 void WinInputWindowDialog::Close() { 222 void WinInputWindowDialog::Close() {
223 window_->CloseWindow(); 223 window_->Close();
224 } 224 }
225 225
226 // static 226 // static
227 InputWindowDialog* InputWindowDialog::Create(HWND parent, 227 InputWindowDialog* InputWindowDialog::Create(HWND parent,
228 const std::wstring& window_title, 228 const std::wstring& window_title,
229 const std::wstring& label, 229 const std::wstring& label,
230 const std::wstring& contents, 230 const std::wstring& contents,
231 Delegate* delegate) { 231 Delegate* delegate) {
232 return new WinInputWindowDialog(parent, 232 return new WinInputWindowDialog(parent,
233 window_title, 233 window_title,
234 label, 234 label,
235 contents, 235 contents,
236 delegate); 236 delegate);
237 } 237 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/constrained_window_gtk.cc ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698