| 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 11 matching lines...) Expand all Loading... |
| 22 #include "content/common/content_export.h" | 22 #include "content/common/content_export.h" |
| 23 #include "content/public/browser/notification_observer.h" | 23 #include "content/public/browser/notification_observer.h" |
| 24 #include "content/public/browser/notification_registrar.h" | 24 #include "content/public/browser/notification_registrar.h" |
| 25 #include "content/public/browser/web_contents.h" | 25 #include "content/public/browser/web_contents.h" |
| 26 #include "content/public/common/renderer_preferences.h" | 26 #include "content/public/common/renderer_preferences.h" |
| 27 #include "content/public/common/three_d_api_types.h" | 27 #include "content/public/common/three_d_api_types.h" |
| 28 #include "net/base/load_states.h" | 28 #include "net/base/load_states.h" |
| 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
| 30 #include "ui/gfx/rect_f.h" | 30 #include "ui/gfx/rect_f.h" |
| 31 #include "ui/gfx/size.h" | 31 #include "ui/gfx/size.h" |
| 32 #include "ui/gfx/vector2d.h" |
| 32 #include "webkit/glue/resource_type.h" | 33 #include "webkit/glue/resource_type.h" |
| 33 | 34 |
| 34 struct BrowserPluginHostMsg_ResizeGuest_Params; | 35 struct BrowserPluginHostMsg_ResizeGuest_Params; |
| 35 struct ViewHostMsg_DateTimeDialogValue_Params; | 36 struct ViewHostMsg_DateTimeDialogValue_Params; |
| 36 struct ViewMsg_PostMessage_Params; | 37 struct ViewMsg_PostMessage_Params; |
| 37 | 38 |
| 38 namespace content { | 39 namespace content { |
| 39 class BrowserPluginEmbedder; | 40 class BrowserPluginEmbedder; |
| 40 class BrowserPluginGuest; | 41 class BrowserPluginGuest; |
| 41 class BrowserPluginGuestManager; | 42 class BrowserPluginGuestManager; |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 | 559 |
| 559 void OnRegisterProtocolHandler(const std::string& protocol, | 560 void OnRegisterProtocolHandler(const std::string& protocol, |
| 560 const GURL& url, | 561 const GURL& url, |
| 561 const string16& title, | 562 const string16& title, |
| 562 bool user_gesture); | 563 bool user_gesture); |
| 563 void OnFindReply(int request_id, | 564 void OnFindReply(int request_id, |
| 564 int number_of_matches, | 565 int number_of_matches, |
| 565 const gfx::Rect& selection_rect, | 566 const gfx::Rect& selection_rect, |
| 566 int active_match_ordinal, | 567 int active_match_ordinal, |
| 567 bool final_update); | 568 bool final_update); |
| 569 void OnDidProgrammaticallyScroll(const gfx::Vector2d& scroll_point); |
| 568 #if defined(OS_ANDROID) | 570 #if defined(OS_ANDROID) |
| 569 void OnFindMatchRectsReply(int version, | 571 void OnFindMatchRectsReply(int version, |
| 570 const std::vector<gfx::RectF>& rects, | 572 const std::vector<gfx::RectF>& rects, |
| 571 const gfx::RectF& active_rect); | 573 const gfx::RectF& active_rect); |
| 572 | 574 |
| 573 void OnOpenDateTimeDialog( | 575 void OnOpenDateTimeDialog( |
| 574 const ViewHostMsg_DateTimeDialogValue_Params& value); | 576 const ViewHostMsg_DateTimeDialogValue_Params& value); |
| 575 #endif | 577 #endif |
| 576 void OnCrashedPlugin(const base::FilePath& plugin_path, | 578 void OnCrashedPlugin(const base::FilePath& plugin_path, |
| 577 base::ProcessId plugin_pid); | 579 base::ProcessId plugin_pid); |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 // Maps the ids of pending image downloads to their callbacks | 913 // Maps the ids of pending image downloads to their callbacks |
| 912 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 914 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 913 ImageDownloadMap image_download_map_; | 915 ImageDownloadMap image_download_map_; |
| 914 | 916 |
| 915 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 917 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 916 }; | 918 }; |
| 917 | 919 |
| 918 } // namespace content | 920 } // namespace content |
| 919 | 921 |
| 920 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 922 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |