| 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 13 matching lines...) Expand all Loading... |
| 24 #include "content/public/browser/web_contents.h" | 24 #include "content/public/browser/web_contents.h" |
| 25 #include "content/public/common/renderer_preferences.h" | 25 #include "content/public/common/renderer_preferences.h" |
| 26 #include "content/public/common/three_d_api_types.h" | 26 #include "content/public/common/three_d_api_types.h" |
| 27 #include "net/base/load_states.h" | 27 #include "net/base/load_states.h" |
| 28 #include "ui/gfx/rect_f.h" | 28 #include "ui/gfx/rect_f.h" |
| 29 #include "ui/gfx/size.h" | 29 #include "ui/gfx/size.h" |
| 30 #include "webkit/glue/resource_type.h" | 30 #include "webkit/glue/resource_type.h" |
| 31 | 31 |
| 32 struct BrowserPluginHostMsg_CreateGuest_Params; | 32 struct BrowserPluginHostMsg_CreateGuest_Params; |
| 33 struct BrowserPluginHostMsg_ResizeGuest_Params; | 33 struct BrowserPluginHostMsg_ResizeGuest_Params; |
| 34 struct ViewHostMsg_DateTimeDialogValue_Params; |
| 34 struct ViewMsg_PostMessage_Params; | 35 struct ViewMsg_PostMessage_Params; |
| 35 | 36 |
| 36 namespace webkit_glue { | 37 namespace webkit_glue { |
| 37 struct WebIntentData; | 38 struct WebIntentData; |
| 38 struct WebIntentServiceData; | 39 struct WebIntentServiceData; |
| 39 } | 40 } |
| 40 | 41 |
| 41 namespace content { | 42 namespace content { |
| 42 class BrowserPluginEmbedder; | 43 class BrowserPluginEmbedder; |
| 43 class BrowserPluginGuest; | 44 class BrowserPluginGuest; |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 void OnFindReply(int request_id, | 551 void OnFindReply(int request_id, |
| 551 int number_of_matches, | 552 int number_of_matches, |
| 552 const gfx::Rect& selection_rect, | 553 const gfx::Rect& selection_rect, |
| 553 int active_match_ordinal, | 554 int active_match_ordinal, |
| 554 bool final_update); | 555 bool final_update); |
| 555 #if defined(OS_ANDROID) | 556 #if defined(OS_ANDROID) |
| 556 void OnFindMatchRectsReply(int version, | 557 void OnFindMatchRectsReply(int version, |
| 557 const std::vector<gfx::RectF>& rects, | 558 const std::vector<gfx::RectF>& rects, |
| 558 const gfx::RectF& active_rect); | 559 const gfx::RectF& active_rect); |
| 559 | 560 |
| 560 void OnOpenDateTimeDialog(int type, const std::string& value); | 561 void OnOpenDateTimeDialog( |
| 562 const ViewHostMsg_DateTimeDialogValue_Params& value); |
| 561 #endif | 563 #endif |
| 562 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid); | 564 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid); |
| 563 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 565 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
| 564 void OnOpenColorChooser(int color_chooser_id, SkColor color); | 566 void OnOpenColorChooser(int color_chooser_id, SkColor color); |
| 565 void OnEndColorChooser(int color_chooser_id); | 567 void OnEndColorChooser(int color_chooser_id); |
| 566 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 568 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
| 567 void OnPepperPluginHung(int plugin_child_id, | 569 void OnPepperPluginHung(int plugin_child_id, |
| 568 const FilePath& path, | 570 const FilePath& path, |
| 569 bool is_hung); | 571 bool is_hung); |
| 570 void OnWebUISend(const GURL& source_url, | 572 void OnWebUISend(const GURL& source_url, |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 // Maps the ids of pending favicon downloads to their callbacks | 878 // Maps the ids of pending favicon downloads to their callbacks |
| 877 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 879 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
| 878 FaviconDownloadMap favicon_download_map_; | 880 FaviconDownloadMap favicon_download_map_; |
| 879 | 881 |
| 880 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 882 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 881 }; | 883 }; |
| 882 | 884 |
| 883 } // namespace content | 885 } // namespace content |
| 884 | 886 |
| 885 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 887 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |