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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 void OnFindReply(int request_id, | 553 void OnFindReply(int request_id, |
553 int number_of_matches, | 554 int number_of_matches, |
554 const gfx::Rect& selection_rect, | 555 const gfx::Rect& selection_rect, |
555 int active_match_ordinal, | 556 int active_match_ordinal, |
556 bool final_update); | 557 bool final_update); |
557 #if defined(OS_ANDROID) | 558 #if defined(OS_ANDROID) |
558 void OnFindMatchRectsReply(int version, | 559 void OnFindMatchRectsReply(int version, |
559 const std::vector<gfx::RectF>& rects, | 560 const std::vector<gfx::RectF>& rects, |
560 const gfx::RectF& active_rect); | 561 const gfx::RectF& active_rect); |
561 | 562 |
562 void OnOpenDateTimeDialog(int type, const std::string& value); | 563 void OnOpenDateTimeDialog( |
| 564 const ViewHostMsg_DateTimeDialogValue_Params& value); |
563 #endif | 565 #endif |
564 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid); | 566 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid); |
565 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 567 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
566 void OnOpenColorChooser(int color_chooser_id, SkColor color); | 568 void OnOpenColorChooser(int color_chooser_id, SkColor color); |
567 void OnEndColorChooser(int color_chooser_id); | 569 void OnEndColorChooser(int color_chooser_id); |
568 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 570 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
569 void OnPepperPluginHung(int plugin_child_id, | 571 void OnPepperPluginHung(int plugin_child_id, |
570 const FilePath& path, | 572 const FilePath& path, |
571 bool is_hung); | 573 bool is_hung); |
572 void OnWebUISend(const GURL& source_url, | 574 void OnWebUISend(const GURL& source_url, |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 // Maps the ids of pending favicon downloads to their callbacks | 892 // Maps the ids of pending favicon downloads to their callbacks |
891 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 893 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
892 FaviconDownloadMap favicon_download_map_; | 894 FaviconDownloadMap favicon_download_map_; |
893 | 895 |
894 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 896 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
895 }; | 897 }; |
896 | 898 |
897 } // namespace content | 899 } // namespace content |
898 | 900 |
899 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 901 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |