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

Side by Side Diff: Source/web/ExternalDateTimeChooser.h

Issue 23623017: Prepare for date/time input datalist support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 27 matching lines...) Expand all
38 class ChromeClientImpl; 38 class ChromeClientImpl;
39 class WebString; 39 class WebString;
40 class WebViewClient; 40 class WebViewClient;
41 41
42 class ExternalDateTimeChooser : public WebCore::DateTimeChooser { 42 class ExternalDateTimeChooser : public WebCore::DateTimeChooser {
43 public: 43 public:
44 static PassRefPtr<ExternalDateTimeChooser> create(ChromeClientImpl*, WebView Client*, WebCore::DateTimeChooserClient*, const WebCore::DateTimeChooserParamete rs&); 44 static PassRefPtr<ExternalDateTimeChooser> create(ChromeClientImpl*, WebView Client*, WebCore::DateTimeChooserClient*, const WebCore::DateTimeChooserParamete rs&);
45 virtual ~ExternalDateTimeChooser(); 45 virtual ~ExternalDateTimeChooser();
46 46
47 // The following functions are for DateTimeChooserCompletion. 47 // The following functions are for DateTimeChooserCompletion.
48 void didChooseValue(const WebString&); 48 void didChooseValue(double);
49 void didCancelChooser(); 49 void didCancelChooser();
50 50
51 private: 51 private:
52 ExternalDateTimeChooser(WebCore::DateTimeChooserClient*); 52 ExternalDateTimeChooser(WebCore::DateTimeChooserClient*);
53 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const WebCore::D ateTimeChooserParameters&); 53 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const WebCore::D ateTimeChooserParameters&);
54 54
55 // DateTimeChooser function: 55 // DateTimeChooser function:
56 virtual void endChooser() OVERRIDE; 56 virtual void endChooser() OVERRIDE;
57 57
58 WebCore::DateTimeChooserClient* m_client; 58 WebCore::DateTimeChooserClient* m_client;
59 }; 59 };
60 60
61 } 61 }
62 #endif 62 #endif
63 63
64 #endif 64 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698