| Index: public/web/WebDateTimeSuggestion.h
|
| diff --git a/Source/core/page/PopupOpeningObserver.h b/public/web/WebDateTimeSuggestion.h
|
| similarity index 69%
|
| copy from Source/core/page/PopupOpeningObserver.h
|
| copy to public/web/WebDateTimeSuggestion.h
|
| index 1115bcae833bec6781d6befbac03aedafcf65803..7bd10b6183d0de67be4f5e1d6f96a2e0e7dc29b9 100644
|
| --- a/Source/core/page/PopupOpeningObserver.h
|
| +++ b/public/web/WebDateTimeSuggestion.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2012 Google Inc. All rights reserved.
|
| + * Copyright (C) 2013 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -23,18 +23,30 @@
|
| * SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef PopupOpeningObserver_h
|
| -#define PopupOpeningObserver_h
|
| +#ifndef WebDateTimeSuggestion_h
|
| +#define WebDateTimeSuggestion_h
|
|
|
| -namespace WebCore {
|
| +#include "public/platform/WebString.h"
|
|
|
| -class PopupOpeningObserver {
|
| -public:
|
| - virtual void willOpenPopup() = 0;
|
| +#if BLINK_IMPLEMENTATION
|
| +namespace WebCore { struct DateTimeSuggestion; }
|
| +#endif
|
| +
|
| +namespace blink {
|
| +
|
| +struct WebDateTimeSuggestion {
|
| + double value;
|
| + WebString localizedValue;
|
| + WebString label;
|
|
|
| -protected:
|
| - virtual ~PopupOpeningObserver() { }
|
| + WebDateTimeSuggestion() { }
|
| +
|
| +#if BLINK_IMPLEMENTATION
|
| + WebDateTimeSuggestion(const WebCore::DateTimeSuggestion&);
|
| + WebDateTimeSuggestion& operator=(const WebCore::DateTimeSuggestion&);
|
| +#endif
|
| };
|
|
|
| -}
|
| +} // namespace blink
|
| +
|
| #endif
|
|
|