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

Side by Side Diff: chrome/browser/ui/input_window_dialog.h

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 #ifndef CHROME_BROWSER_UI_INPUT_WINDOW_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_INPUT_WINDOW_DIALOG_H_
6 #define CHROME_BROWSER_UI_INPUT_WINDOW_DIALOG_H_ 6 #define CHROME_BROWSER_UI_INPUT_WINDOW_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "gfx/native_widget_types.h" 12 #include "ui/gfx/native_widget_types.h"
13 13
14 // Cross platform access to a modal input window. 14 // Cross platform access to a modal input window.
15 class InputWindowDialog { 15 class InputWindowDialog {
16 public: 16 public:
17 class Delegate { 17 class Delegate {
18 public: 18 public:
19 virtual ~Delegate() {} 19 virtual ~Delegate() {}
20 20
21 // Checks whether |text| is a valid input string. 21 // Checks whether |text| is a valid input string.
22 virtual bool IsValid(const std::wstring& text) = 0; 22 virtual bool IsValid(const std::wstring& text) = 0;
(...skipping 21 matching lines...) Expand all
44 44
45 protected: 45 protected:
46 InputWindowDialog() {} 46 InputWindowDialog() {}
47 virtual ~InputWindowDialog() {} 47 virtual ~InputWindowDialog() {}
48 48
49 private: 49 private:
50 DISALLOW_COPY_AND_ASSIGN(InputWindowDialog); 50 DISALLOW_COPY_AND_ASSIGN(InputWindowDialog);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_UI_INPUT_WINDOW_DIALOG_H_ 53 #endif // CHROME_BROWSER_UI_INPUT_WINDOW_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/translate/translate_infobar_base_gtk.cc ('k') | chrome/browser/ui/tabs/dock_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698