| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 void OnFindMatchRectsReply(int version, | 610 void OnFindMatchRectsReply(int version, |
| 610 const std::vector<gfx::RectF>& rects, | 611 const std::vector<gfx::RectF>& rects, |
| 611 const gfx::RectF& active_rect); | 612 const gfx::RectF& active_rect); |
| 612 | 613 |
| 613 void OnOpenDateTimeDialog( | 614 void OnOpenDateTimeDialog( |
| 614 const ViewHostMsg_DateTimeDialogValue_Params& value); | 615 const ViewHostMsg_DateTimeDialogValue_Params& value); |
| 615 #endif | 616 #endif |
| 616 void OnCrashedPlugin(const base::FilePath& plugin_path, | 617 void OnCrashedPlugin(const base::FilePath& plugin_path, |
| 617 base::ProcessId plugin_pid); | 618 base::ProcessId plugin_pid); |
| 618 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 619 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
| 619 void OnOpenColorChooser(int color_chooser_id, SkColor color); | 620 void OnOpenColorChooser(int color_chooser_id, |
| 621 SkColor color, |
| 622 const std::vector<ColorSuggestion>& suggestions); |
| 620 void OnEndColorChooser(int color_chooser_id); | 623 void OnEndColorChooser(int color_chooser_id); |
| 621 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 624 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
| 622 void OnPepperPluginHung(int plugin_child_id, | 625 void OnPepperPluginHung(int plugin_child_id, |
| 623 const base::FilePath& path, | 626 const base::FilePath& path, |
| 624 bool is_hung); | 627 bool is_hung); |
| 625 void OnWebUISend(const GURL& source_url, | 628 void OnWebUISend(const GURL& source_url, |
| 626 const std::string& name, | 629 const std::string& name, |
| 627 const base::ListValue& args); | 630 const base::ListValue& args); |
| 628 void OnRequestPpapiBrokerPermission(int routing_id, | 631 void OnRequestPpapiBrokerPermission(int routing_id, |
| 629 const GURL& url, | 632 const GURL& url, |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 // Maps the ids of pending image downloads to their callbacks | 973 // Maps the ids of pending image downloads to their callbacks |
| 971 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 974 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 972 ImageDownloadMap image_download_map_; | 975 ImageDownloadMap image_download_map_; |
| 973 | 976 |
| 974 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 977 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 975 }; | 978 }; |
| 976 | 979 |
| 977 } // namespace content | 980 } // namespace content |
| 978 | 981 |
| 979 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 982 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |