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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 23691036: Add support for datalist to input type color Base URL: https://chromium.googlesource.com/chromium/src.git@color
Patch Set: Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class RenderWidgetHostViewPort; 55 class RenderWidgetHostViewPort;
56 class SavePackage; 56 class SavePackage;
57 class SessionStorageNamespaceImpl; 57 class SessionStorageNamespaceImpl;
58 class SiteInstance; 58 class SiteInstance;
59 class TestWebContents; 59 class TestWebContents;
60 class WebContentsDelegate; 60 class WebContentsDelegate;
61 class WebContentsImpl; 61 class WebContentsImpl;
62 class WebContentsObserver; 62 class WebContentsObserver;
63 class WebContentsViewPort; 63 class WebContentsViewPort;
64 class WebContentsViewDelegate; 64 class WebContentsViewDelegate;
65 struct ColorSuggestion;
65 struct FaviconURL; 66 struct FaviconURL;
66 struct LoadNotificationDetails; 67 struct LoadNotificationDetails;
67 68
68 // Factory function for the implementations that content knows about. Takes 69 // Factory function for the implementations that content knows about. Takes
69 // ownership of |delegate|. 70 // ownership of |delegate|.
70 WebContentsViewPort* CreateWebContentsView( 71 WebContentsViewPort* CreateWebContentsView(
71 WebContentsImpl* web_contents, 72 WebContentsImpl* web_contents,
72 WebContentsViewDelegate* delegate, 73 WebContentsViewDelegate* delegate,
73 RenderViewHostDelegateView** render_view_host_delegate_view); 74 RenderViewHostDelegateView** render_view_host_delegate_view);
74 75
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 void OnFindMatchRectsReply(int version, 606 void OnFindMatchRectsReply(int version,
606 const std::vector<gfx::RectF>& rects, 607 const std::vector<gfx::RectF>& rects,
607 const gfx::RectF& active_rect); 608 const gfx::RectF& active_rect);
608 609
609 void OnOpenDateTimeDialog( 610 void OnOpenDateTimeDialog(
610 const ViewHostMsg_DateTimeDialogValue_Params& value); 611 const ViewHostMsg_DateTimeDialogValue_Params& value);
611 #endif 612 #endif
612 void OnCrashedPlugin(const base::FilePath& plugin_path, 613 void OnCrashedPlugin(const base::FilePath& plugin_path,
613 base::ProcessId plugin_pid); 614 base::ProcessId plugin_pid);
614 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); 615 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
615 void OnOpenColorChooser(int color_chooser_id, SkColor color); 616 void OnOpenColorChooser(int color_chooser_id,
617 SkColor color,
618 const std::vector<ColorSuggestion>& suggestions);
616 void OnEndColorChooser(int color_chooser_id); 619 void OnEndColorChooser(int color_chooser_id);
617 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); 620 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color);
618 void OnPepperPluginHung(int plugin_child_id, 621 void OnPepperPluginHung(int plugin_child_id,
619 const base::FilePath& path, 622 const base::FilePath& path,
620 bool is_hung); 623 bool is_hung);
621 void OnWebUISend(const GURL& source_url, 624 void OnWebUISend(const GURL& source_url,
622 const std::string& name, 625 const std::string& name,
623 const base::ListValue& args); 626 const base::ListValue& args);
624 void OnRequestPpapiBrokerPermission(int routing_id, 627 void OnRequestPpapiBrokerPermission(int routing_id,
625 const GURL& url, 628 const GURL& url,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 // Maps the ids of pending image downloads to their callbacks 967 // Maps the ids of pending image downloads to their callbacks
965 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 968 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
966 ImageDownloadMap image_download_map_; 969 ImageDownloadMap image_download_map_;
967 970
968 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 971 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
969 }; 972 };
970 973
971 } // namespace content 974 } // namespace content
972 975
973 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 976 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698