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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/gtk_signal.h"
10 #include "base/message_loop.h" 9 #include "base/message_loop.h"
11 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
12 #include "base/string_piece.h" 11 #include "base/string_piece.h"
13 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/ui/gtk/gtk_util.h" 13 #include "chrome/browser/ui/gtk/gtk_util.h"
14 #include "ui/base/gtk/gtk_signal.h"
15 15
16 class InputWindowDialogGtk : public InputWindowDialog { 16 class InputWindowDialogGtk : public InputWindowDialog {
17 public: 17 public:
18 // Creates a dialog. Takes ownership of |delegate|. 18 // Creates a dialog. Takes ownership of |delegate|.
19 InputWindowDialogGtk(GtkWindow* parent, 19 InputWindowDialogGtk(GtkWindow* parent,
20 const std::string& window_title, 20 const std::string& window_title,
21 const std::string& label, 21 const std::string& label,
22 const std::string& contents, 22 const std::string& contents,
23 Delegate* delegate); 23 Delegate* delegate);
24 virtual ~InputWindowDialogGtk(); 24 virtual ~InputWindowDialogGtk();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const std::wstring& window_title, 138 const std::wstring& window_title,
139 const std::wstring& label, 139 const std::wstring& label,
140 const std::wstring& contents, 140 const std::wstring& contents,
141 Delegate* delegate) { 141 Delegate* delegate) {
142 return new InputWindowDialogGtk(parent, 142 return new InputWindowDialogGtk(parent,
143 WideToUTF8(window_title), 143 WideToUTF8(window_title),
144 WideToUTF8(label), 144 WideToUTF8(label),
145 WideToUTF8(contents), 145 WideToUTF8(contents),
146 delegate); 146 delegate);
147 } 147 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/update_recommended_dialog.h ('k') | chrome/browser/ui/login/login_prompt_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698