| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 class RenderWidgetHostViewPort; | 58 class RenderWidgetHostViewPort; |
| 59 class SavePackage; | 59 class SavePackage; |
| 60 class SessionStorageNamespaceImpl; | 60 class SessionStorageNamespaceImpl; |
| 61 class SiteInstance; | 61 class SiteInstance; |
| 62 class TestWebContents; | 62 class TestWebContents; |
| 63 class WebContentsDelegate; | 63 class WebContentsDelegate; |
| 64 class WebContentsImpl; | 64 class WebContentsImpl; |
| 65 class WebContentsObserver; | 65 class WebContentsObserver; |
| 66 class WebContentsViewPort; | 66 class WebContentsViewPort; |
| 67 class WebContentsViewDelegate; | 67 class WebContentsViewDelegate; |
| 68 struct ColorSuggestion; |
| 68 struct FaviconURL; | 69 struct FaviconURL; |
| 69 struct LoadNotificationDetails; | 70 struct LoadNotificationDetails; |
| 70 | 71 |
| 71 // Factory function for the implementations that content knows about. Takes | 72 // Factory function for the implementations that content knows about. Takes |
| 72 // ownership of |delegate|. | 73 // ownership of |delegate|. |
| 73 WebContentsViewPort* CreateWebContentsView( | 74 WebContentsViewPort* CreateWebContentsView( |
| 74 WebContentsImpl* web_contents, | 75 WebContentsImpl* web_contents, |
| 75 WebContentsViewDelegate* delegate, | 76 WebContentsViewDelegate* delegate, |
| 76 RenderViewHostDelegateView** render_view_host_delegate_view); | 77 RenderViewHostDelegateView** render_view_host_delegate_view); |
| 77 | 78 |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 const std::vector<gfx::RectF>& rects, | 639 const std::vector<gfx::RectF>& rects, |
| 639 const gfx::RectF& active_rect); | 640 const gfx::RectF& active_rect); |
| 640 | 641 |
| 641 void OnOpenDateTimeDialog( | 642 void OnOpenDateTimeDialog( |
| 642 const ViewHostMsg_DateTimeDialogValue_Params& value); | 643 const ViewHostMsg_DateTimeDialogValue_Params& value); |
| 643 void OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg); | 644 void OnJavaBridgeGetChannelHandle(IPC::Message* reply_msg); |
| 644 #endif | 645 #endif |
| 645 void OnCrashedPlugin(const base::FilePath& plugin_path, | 646 void OnCrashedPlugin(const base::FilePath& plugin_path, |
| 646 base::ProcessId plugin_pid); | 647 base::ProcessId plugin_pid); |
| 647 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 648 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
| 648 void OnOpenColorChooser(int color_chooser_id, SkColor color); | 649 void OnOpenColorChooser(int color_chooser_id, |
| 650 SkColor color, |
| 651 const std::vector<ColorSuggestion>& suggestions); |
| 649 void OnEndColorChooser(int color_chooser_id); | 652 void OnEndColorChooser(int color_chooser_id); |
| 650 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 653 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
| 651 void OnPepperPluginHung(int plugin_child_id, | 654 void OnPepperPluginHung(int plugin_child_id, |
| 652 const base::FilePath& path, | 655 const base::FilePath& path, |
| 653 bool is_hung); | 656 bool is_hung); |
| 654 void OnWebUISend(const GURL& source_url, | 657 void OnWebUISend(const GURL& source_url, |
| 655 const std::string& name, | 658 const std::string& name, |
| 656 const base::ListValue& args); | 659 const base::ListValue& args); |
| 657 void OnRequestPpapiBrokerPermission(int routing_id, | 660 void OnRequestPpapiBrokerPermission(int routing_id, |
| 658 const GURL& url, | 661 const GURL& url, |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 // Maps the ids of pending image downloads to their callbacks | 988 // Maps the ids of pending image downloads to their callbacks |
| 986 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 989 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 987 ImageDownloadMap image_download_map_; | 990 ImageDownloadMap image_download_map_; |
| 988 | 991 |
| 989 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 992 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 990 }; | 993 }; |
| 991 | 994 |
| 992 } // namespace content | 995 } // namespace content |
| 993 | 996 |
| 994 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 997 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |