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

Side by Side Diff: content/renderer/date_time_suggestion_builder.cc

Issue 23623019: Support datalist for date/time input types on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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
(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 #include "content/renderer/date_time_suggestion_builder.h"
6
7 #include "content/common/date_time_suggestion.h"
8 #include "third_party/WebKit/public/web/WebDateTimeSuggestion.h"
9
10 namespace content {
11
12 // static
13 DateTimeSuggestion DateTimeSuggestionBuilder::Build(
14 const blink::WebDateTimeSuggestion& suggestion) {
15 DateTimeSuggestion result;
16 result.value = suggestion.value;
17 result.localized_value = suggestion.localizedValue;
18 result.label = suggestion.label;
19 return result;
20 }
21
22 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/date_time_suggestion_builder.h ('k') | content/renderer/renderer_date_time_picker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698