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

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

Issue 115831: Converts a bunch things from NativeWindow to NativeView to make it... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/input_window_dialog_gtk.cc ('k') | chrome/browser/views/bookmark_menu_button.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/input_window_dialog.h" 5 #include "chrome/browser/input_window_dialog.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/task.h" 10 #include "base/task.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 void WinInputWindowDialog::Show() { 217 void WinInputWindowDialog::Show() {
218 window_->Show(); 218 window_->Show();
219 } 219 }
220 220
221 void WinInputWindowDialog::Close() { 221 void WinInputWindowDialog::Close() {
222 window_->Close(); 222 window_->Close();
223 } 223 }
224 224
225 // static 225 // static
226 InputWindowDialog* InputWindowDialog::Create(gfx::NativeWindow parent, 226 InputWindowDialog* InputWindowDialog::Create(HWND parent,
227 const std::wstring& window_title, 227 const std::wstring& window_title,
228 const std::wstring& label, 228 const std::wstring& label,
229 const std::wstring& contents, 229 const std::wstring& contents,
230 Delegate* delegate) { 230 Delegate* delegate) {
231 return new WinInputWindowDialog(parent, 231 return new WinInputWindowDialog(parent,
232 window_title, 232 window_title,
233 label, 233 label,
234 contents, 234 contents,
235 delegate); 235 delegate);
236 } 236 }
OLDNEW
« no previous file with comments | « chrome/browser/input_window_dialog_gtk.cc ('k') | chrome/browser/views/bookmark_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698