Trust the renderer's same-document navigation flag if it is a same-origin nav.
[chromium-blink-merge.git] / content / common / date_time_suggestion.h
blobce35430ca816efdd5cf6803ce6d0dca0a640e26e
1 // Copyright 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.
5 #ifndef CONTENT_COMMON_DATE_TIME_SUGGESTION_H_
6 #define CONTENT_COMMON_DATE_TIME_SUGGESTION_H_
8 #include <vector>
10 #include "base/strings/string16.h"
11 #include "content/common/content_export.h"
12 #include "third_party/skia/include/core/SkColor.h"
14 namespace content {
16 // Container for information about datalist suggestion for the date/time input
17 // control. Keep in sync with DateTimeSuggestion.java
18 struct CONTENT_EXPORT DateTimeSuggestion {
19 DateTimeSuggestion() {}
21 // The date/time value represented as a double.
22 double value;
23 // The localized value to be shown to the user.
24 base::string16 localized_value;
25 // The label for the suggestion.
26 base::string16 label;
29 } // namespace content
31 #endif // CONTENT_COMMON_DATE_TIME_SUGGESTION_H_