Chromium Code Reviews

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

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome/browser/importer/importer.h ('k') | chrome/browser/page_info_window.h » ('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 #ifndef CHROME_BROWSER_INPUT_WINDOW_DIALOG_H_ 5 #ifndef CHROME_BROWSER_INPUT_WINDOW_DIALOG_H_
6 #define CHROME_BROWSER_INPUT_WINDOW_DIALOG_H_ 6 #define CHROME_BROWSER_INPUT_WINDOW_DIALOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "app/gfx/native_widget_types.h"
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/gfx/native_widget_types.h"
12 12
13 // Cross platform access to a modal input window. 13 // Cross platform access to a modal input window.
14 class InputWindowDialog { 14 class InputWindowDialog {
15 public: 15 public:
16 class Delegate { 16 class Delegate {
17 public: 17 public:
18 virtual ~Delegate() { } 18 virtual ~Delegate() { }
19 19
20 // Checks whether |text| is a valid input string. 20 // Checks whether |text| is a valid input string.
21 virtual bool IsValid(const std::wstring& text) = 0; 21 virtual bool IsValid(const std::wstring& text) = 0;
(...skipping 20 matching lines...)
42 virtual void Close() = 0; 42 virtual void Close() = 0;
43 43
44 protected: 44 protected:
45 InputWindowDialog() { } 45 InputWindowDialog() { }
46 46
47 private: 47 private:
48 DISALLOW_COPY_AND_ASSIGN(InputWindowDialog); 48 DISALLOW_COPY_AND_ASSIGN(InputWindowDialog);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_INPUT_WINDOW_DIALOG_H_ 51 #endif // CHROME_BROWSER_INPUT_WINDOW_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer.h ('k') | chrome/browser/page_info_window.h » ('j') | no next file with comments »

Powered by Google App Engine