| 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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 | 880 |
| 881 // Callback function when requesting permission to access the PPAPI broker. | 881 // Callback function when requesting permission to access the PPAPI broker. |
| 882 // |result| is true if permission was granted. | 882 // |result| is true if permission was granted. |
| 883 void OnPpapiBrokerPermissionResult(int routing_id, bool result); | 883 void OnPpapiBrokerPermissionResult(int routing_id, bool result); |
| 884 | 884 |
| 885 void OnBrowserPluginMessage(RenderFrameHost* render_frame_host, | 885 void OnBrowserPluginMessage(RenderFrameHost* render_frame_host, |
| 886 const IPC::Message& message); | 886 const IPC::Message& message); |
| 887 #endif // defined(ENABLE_PLUGINS) | 887 #endif // defined(ENABLE_PLUGINS) |
| 888 void OnUpdateFaviconURL(const std::vector<FaviconURL>& candidates); | 888 void OnUpdateFaviconURL(const std::vector<FaviconURL>& candidates); |
| 889 void OnFirstVisuallyNonEmptyPaint(); | 889 void OnFirstVisuallyNonEmptyPaint(); |
| 890 void OnFirstPaintAfterLoad(); |
| 890 void OnMediaPlayingNotification(int64 player_cookie, | 891 void OnMediaPlayingNotification(int64 player_cookie, |
| 891 bool has_video, | 892 bool has_video, |
| 892 bool has_audio, | 893 bool has_audio, |
| 893 bool is_remote); | 894 bool is_remote); |
| 894 void OnMediaPausedNotification(int64 player_cookie); | 895 void OnMediaPausedNotification(int64 player_cookie); |
| 895 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, | 896 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, |
| 896 const base::string16& main_text, | 897 const base::string16& main_text, |
| 897 const base::string16& sub_text); | 898 const base::string16& sub_text); |
| 898 void OnHideValidationMessage(); | 899 void OnHideValidationMessage(); |
| 899 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); | 900 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 // Adds/removes a callback called on creation of each new WebContents. | 1332 // Adds/removes a callback called on creation of each new WebContents. |
| 1332 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1333 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1333 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1334 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1334 | 1335 |
| 1335 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1336 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1336 }; | 1337 }; |
| 1337 | 1338 |
| 1338 } // namespace content | 1339 } // namespace content |
| 1339 | 1340 |
| 1340 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1341 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |