OLD | NEW |
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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 void OnFindMatchRectsReply(int version, | 595 void OnFindMatchRectsReply(int version, |
596 const std::vector<gfx::RectF>& rects, | 596 const std::vector<gfx::RectF>& rects, |
597 const gfx::RectF& active_rect); | 597 const gfx::RectF& active_rect); |
598 | 598 |
599 void OnOpenDateTimeDialog( | 599 void OnOpenDateTimeDialog( |
600 const ViewHostMsg_DateTimeDialogValue_Params& value); | 600 const ViewHostMsg_DateTimeDialogValue_Params& value); |
601 #endif | 601 #endif |
602 void OnCrashedPlugin(const base::FilePath& plugin_path, | 602 void OnCrashedPlugin(const base::FilePath& plugin_path, |
603 base::ProcessId plugin_pid); | 603 base::ProcessId plugin_pid); |
604 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 604 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
605 void OnOpenColorChooser(int color_chooser_id, SkColor color); | 605 void OnOpenColorChooser(int color_chooser_id, |
| 606 SkColor color, |
| 607 const std::vector<SkColor>& suggestions, |
| 608 const std::vector<string16>& suggestion_labels); |
606 void OnEndColorChooser(int color_chooser_id); | 609 void OnEndColorChooser(int color_chooser_id); |
607 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 610 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
608 void OnPepperPluginHung(int plugin_child_id, | 611 void OnPepperPluginHung(int plugin_child_id, |
609 const base::FilePath& path, | 612 const base::FilePath& path, |
610 bool is_hung); | 613 bool is_hung); |
611 void OnWebUISend(const GURL& source_url, | 614 void OnWebUISend(const GURL& source_url, |
612 const std::string& name, | 615 const std::string& name, |
613 const base::ListValue& args); | 616 const base::ListValue& args); |
614 void OnRequestPpapiBrokerPermission(int routing_id, | 617 void OnRequestPpapiBrokerPermission(int routing_id, |
615 const GURL& url, | 618 const GURL& url, |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 // Maps the ids of pending image downloads to their callbacks | 957 // Maps the ids of pending image downloads to their callbacks |
955 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 958 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
956 ImageDownloadMap image_download_map_; | 959 ImageDownloadMap image_download_map_; |
957 | 960 |
958 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 961 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
959 }; | 962 }; |
960 | 963 |
961 } // namespace content | 964 } // namespace content |
962 | 965 |
963 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 966 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |