| 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 | 539 |
| 540 void OnRegisterProtocolHandler(const std::string& protocol, | 540 void OnRegisterProtocolHandler(const std::string& protocol, |
| 541 const GURL& url, | 541 const GURL& url, |
| 542 const string16& title, | 542 const string16& title, |
| 543 bool user_gesture); | 543 bool user_gesture); |
| 544 void OnFindReply(int request_id, | 544 void OnFindReply(int request_id, |
| 545 int number_of_matches, | 545 int number_of_matches, |
| 546 const gfx::Rect& selection_rect, | 546 const gfx::Rect& selection_rect, |
| 547 int active_match_ordinal, | 547 int active_match_ordinal, |
| 548 bool final_update); | 548 bool final_update); |
| 549 void OnDidProgrammaticallyScroll(const gfx::Point& scroll_point); |
| 549 #if defined(OS_ANDROID) | 550 #if defined(OS_ANDROID) |
| 550 void OnFindMatchRectsReply(int version, | 551 void OnFindMatchRectsReply(int version, |
| 551 const std::vector<gfx::RectF>& rects, | 552 const std::vector<gfx::RectF>& rects, |
| 552 const gfx::RectF& active_rect); | 553 const gfx::RectF& active_rect); |
| 553 | 554 |
| 554 void OnOpenDateTimeDialog( | 555 void OnOpenDateTimeDialog( |
| 555 const ViewHostMsg_DateTimeDialogValue_Params& value); | 556 const ViewHostMsg_DateTimeDialogValue_Params& value); |
| 556 #endif | 557 #endif |
| 557 void OnCrashedPlugin(const base::FilePath& plugin_path, | 558 void OnCrashedPlugin(const base::FilePath& plugin_path, |
| 558 base::ProcessId plugin_pid); | 559 base::ProcessId plugin_pid); |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 // Maps the ids of pending image downloads to their callbacks | 884 // Maps the ids of pending image downloads to their callbacks |
| 884 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 885 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 885 ImageDownloadMap image_download_map_; | 886 ImageDownloadMap image_download_map_; |
| 886 | 887 |
| 887 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 888 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 888 }; | 889 }; |
| 889 | 890 |
| 890 } // namespace content | 891 } // namespace content |
| 891 | 892 |
| 892 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 893 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |