| Index: public/web/WebColorSuggestion.h
|
| diff --git a/Source/web/WebDOMProgressEvent.cpp b/public/web/WebColorSuggestion.h
|
| similarity index 80%
|
| copy from Source/web/WebDOMProgressEvent.cpp
|
| copy to public/web/WebColorSuggestion.h
|
| index 0c8648eb3cb6aff9df1f39ea8ab0d5b7f956c04d..f1b838a53c54ab5b1220fa8000189523bcaa0230 100644
|
| --- a/Source/web/WebDOMProgressEvent.cpp
|
| +++ b/public/web/WebColorSuggestion.h
|
| @@ -28,21 +28,28 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "config.h"
|
| -#include "WebDOMProgressEvent.h"
|
| +#ifndef WebColorSuggestion_h
|
| +#define WebColorSuggestion_h
|
|
|
| -#include "core/events/ProgressEvent.h"
|
| +#include "public/platform/WebColor.h"
|
| #include "public/platform/WebString.h"
|
|
|
| -using namespace WebCore;
|
| +namespace WebCore {
|
| +struct ColorSuggestion;
|
| +}
|
|
|
| namespace blink {
|
|
|
| -WebDOMProgressEvent::WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total)
|
| - : WebDOMEvent(ProgressEvent::create(type, lengthIsComputable, loaded, total))
|
| -{
|
| - ASSERT(m_private.get());
|
| - ASSERT(isProgressEvent());
|
| -}
|
| +struct WebColorSuggestion {
|
| + WebColor color;
|
| + WebString label;
|
| +
|
| +#if BLINK_IMPLEMENTATION
|
| + WebColorSuggestion(const WebCore::ColorSuggestion&);
|
| + WebColorSuggestion& operator=(const WebCore::ColorSuggestion&);
|
| +#endif
|
| +};
|
|
|
| } // namespace blink
|
| +
|
| +#endif // WebColorSuggestion_h
|
|
|