OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_DATE_TIME_CHOOSER_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_DATE_TIME_CHOOSER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 namespace content { | |
bulach
2013/01/10 15:58:35
nit: add a \n and also sort order..
Miguel Garcia
2013/01/11 14:59:37
Done.
| |
11 class RenderViewHost; | |
12 class ContentViewCore; | |
13 | |
14 // Abstraction object for date time pickers. | |
bulach
2013/01/10 15:58:35
// An interface for showing date/time picker dialo
Miguel Garcia
2013/01/11 14:59:37
Done.
| |
15 class DateTimeChooser { | |
16 public: | |
17 static DateTimeChooser* Create(); | |
18 virtual ~DateTimeChooser() {} | |
19 | |
20 // Shows a date/time dialog of a given type with an initial value | |
21 virtual void ShowDialog(ContentViewCore* content, | |
22 RenderViewHost* sender, | |
23 int type, const std::string& value) = 0; | |
bulach
2013/01/10 15:58:35
nit:
private:
DISALLOW_COPY_AND_ASSIGN(DateTimeCh
Miguel Garcia
2013/01/11 14:59:37
Done.
| |
24 }; | |
25 | |
26 } // namespace content | |
27 | |
28 #endif // CONTENT_PUBLIC_BROWSER_DATE_TIME_CHOOSER_H_ | |
OLD | NEW |