Chromium Code Reviews| 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 14 matching lines...) Expand all Loading... | |
| 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 ViewMsg_PostMessage_Params; | 34 struct ViewMsg_PostMessage_Params; |
| 35 struct ViewHostMsg_DateTimeValue_Params; | |
|
bulach
2013/02/05 11:54:56
nit: sort order
Miguel Garcia
2013/02/05 17:44:40
Done.
| |
| 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; |
| 44 class ColorChooser; | 45 class ColorChooser; |
| (...skipping 505 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(ViewHostMsg_DateTimeValue_Params value); |
|
bulach
2013/02/05 11:54:56
nit: const &
Miguel Garcia
2013/02/05 17:44:40
Done.
| |
| 561 #endif | 562 #endif |
| 562 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid); | 563 void OnCrashedPlugin(const FilePath& plugin_path, base::ProcessId plugin_pid); |
| 563 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 564 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
| 564 void OnOpenColorChooser(int color_chooser_id, SkColor color); | 565 void OnOpenColorChooser(int color_chooser_id, SkColor color); |
| 565 void OnEndColorChooser(int color_chooser_id); | 566 void OnEndColorChooser(int color_chooser_id); |
| 566 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 567 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
| 567 void OnPepperPluginHung(int plugin_child_id, | 568 void OnPepperPluginHung(int plugin_child_id, |
| 568 const FilePath& path, | 569 const FilePath& path, |
| 569 bool is_hung); | 570 bool is_hung); |
| 570 void OnWebUISend(const GURL& source_url, | 571 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 | 877 // Maps the ids of pending favicon downloads to their callbacks |
| 877 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 878 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
| 878 FaviconDownloadMap favicon_download_map_; | 879 FaviconDownloadMap favicon_download_map_; |
| 879 | 880 |
| 880 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 881 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 881 }; | 882 }; |
| 882 | 883 |
| 883 } // namespace content | 884 } // namespace content |
| 884 | 885 |
| 885 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 886 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |