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

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

Issue 23236002: Prepare for color input datalist support on Android (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed, added color suggestion struct Created 7 years, 4 months 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 25 matching lines...) Expand all
36 #include "core/page/ChromeClient.h" 36 #include "core/page/ChromeClient.h"
37 #include "core/platform/PopupMenu.h" 37 #include "core/platform/PopupMenu.h"
38 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 38 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
39 #include "public/platform/WebColor.h" 39 #include "public/platform/WebColor.h"
40 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 class AccessibilityObject; 43 class AccessibilityObject;
44 class ColorChooser; 44 class ColorChooser;
45 class ColorChooserClient; 45 class ColorChooserClient;
46 class ColorSuggestion;
tkent 2013/08/25 22:26:01 Is it necessary?
keishi 2013/08/26 05:29:15 Removed.
46 class Element; 47 class Element;
47 class FileChooser; 48 class FileChooser;
48 class GraphicsLayerFactory; 49 class GraphicsLayerFactory;
49 class PopupContainer; 50 class PopupContainer;
50 class PopupMenuClient; 51 class PopupMenuClient;
51 class RenderBox; 52 class RenderBox;
52 class SecurityOrigin; 53 class SecurityOrigin;
53 class DateTimeChooser; 54 class DateTimeChooser;
54 class DateTimeChooserClient; 55 class DateTimeChooserClient;
55 struct WindowFeatures; 56 struct WindowFeatures;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void didProgrammaticallyScroll(WebCore::Frame*, const WebCore::IntPo int&) const; 125 virtual void didProgrammaticallyScroll(WebCore::Frame*, const WebCore::IntPo int&) const;
125 virtual void layoutUpdated(WebCore::Frame*) const; 126 virtual void layoutUpdated(WebCore::Frame*) const;
126 virtual void mouseDidMoveOverElement( 127 virtual void mouseDidMoveOverElement(
127 const WebCore::HitTestResult& result, unsigned modifierFlags); 128 const WebCore::HitTestResult& result, unsigned modifierFlags);
128 virtual void setToolTip(const WTF::String& tooltipText, WebCore::TextDirecti on); 129 virtual void setToolTip(const WTF::String& tooltipText, WebCore::TextDirecti on);
129 virtual void dispatchViewportPropertiesDidChange(const WebCore::ViewportArgu ments&) const; 130 virtual void dispatchViewportPropertiesDidChange(const WebCore::ViewportArgu ments&) const;
130 virtual void print(WebCore::Frame*); 131 virtual void print(WebCore::Frame*);
131 virtual void annotatedRegionsChanged(); 132 virtual void annotatedRegionsChanged();
132 virtual bool paintCustomOverhangArea(WebCore::GraphicsContext*, const WebCor e::IntRect&, const WebCore::IntRect&, const WebCore::IntRect&); 133 virtual bool paintCustomOverhangArea(WebCore::GraphicsContext*, const WebCor e::IntRect&, const WebCore::IntRect&, const WebCore::IntRect&);
133 virtual PassOwnPtr<WebCore::ColorChooser> createColorChooser(WebCore::ColorC hooserClient*, const WebCore::Color&) OVERRIDE; 134 virtual PassOwnPtr<WebCore::ColorChooser> createColorChooser(WebCore::ColorC hooserClient*, const WebCore::Color&) OVERRIDE;
134 PassOwnPtr<WebColorChooser> createWebColorChooser(WebColorChooserClient*, co nst WebColor&);
135 virtual PassRefPtr<WebCore::DateTimeChooser> openDateTimeChooser(WebCore::Da teTimeChooserClient*, const WebCore::DateTimeChooserParameters&) OVERRIDE; 135 virtual PassRefPtr<WebCore::DateTimeChooser> openDateTimeChooser(WebCore::Da teTimeChooserClient*, const WebCore::DateTimeChooserParameters&) OVERRIDE;
136 virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>) ; 136 virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>) ;
137 virtual void enumerateChosenDirectory(WebCore::FileChooser*); 137 virtual void enumerateChosenDirectory(WebCore::FileChooser*);
138 virtual void setCursor(const WebCore::Cursor&); 138 virtual void setCursor(const WebCore::Cursor&);
139 virtual void formStateDidChange(const WebCore::Node*); 139 virtual void formStateDidChange(const WebCore::Node*);
140 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE; 140 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE;
141 141
142 virtual WebCore::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE ; 142 virtual WebCore::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE ;
143 143
144 // Pass 0 as the GraphicsLayer to detatch the root layer. 144 // Pass 0 as the GraphicsLayer to detatch the root layer.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 private: 212 private:
213 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 213 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
214 214
215 WebViewImpl* m_webView; 215 WebViewImpl* m_webView;
216 }; 216 };
217 #endif 217 #endif
218 218
219 } // namespace WebKit 219 } // namespace WebKit
220 220
221 #endif 221 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698