| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 | 1112 |
| 1113 // Callback function when requesting permission to access the PPAPI broker. | 1113 // Callback function when requesting permission to access the PPAPI broker. |
| 1114 // |result| is true if permission was granted. | 1114 // |result| is true if permission was granted. |
| 1115 void SendPpapiBrokerPermissionResult(int process_id, | 1115 void SendPpapiBrokerPermissionResult(int process_id, |
| 1116 int ppb_broker_route_id, | 1116 int ppb_broker_route_id, |
| 1117 bool result); | 1117 bool result); |
| 1118 | 1118 |
| 1119 void OnBrowserPluginMessage(RenderFrameHost* render_frame_host, | 1119 void OnBrowserPluginMessage(RenderFrameHost* render_frame_host, |
| 1120 const IPC::Message& message); | 1120 const IPC::Message& message); |
| 1121 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1121 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 1122 void OnUpdateFaviconURL(RenderViewHostImpl* source, | 1122 void OnUpdateFaviconURL(RenderFrameHostImpl* source, |
| 1123 const std::vector<FaviconURL>& candidates); | 1123 const std::vector<FaviconURL>& candidates); |
| 1124 void OnFirstVisuallyNonEmptyPaint(RenderViewHostImpl* source); | 1124 void OnFirstVisuallyNonEmptyPaint(RenderViewHostImpl* source); |
| 1125 void OnShowValidationMessage(RenderViewHostImpl* source, | 1125 void OnShowValidationMessage(RenderViewHostImpl* source, |
| 1126 const gfx::Rect& anchor_in_root_view, | 1126 const gfx::Rect& anchor_in_root_view, |
| 1127 const base::string16& main_text, | 1127 const base::string16& main_text, |
| 1128 const base::string16& sub_text); | 1128 const base::string16& sub_text); |
| 1129 void OnHideValidationMessage(RenderViewHostImpl* source); | 1129 void OnHideValidationMessage(RenderViewHostImpl* source); |
| 1130 void OnMoveValidationMessage(RenderViewHostImpl* source, | 1130 void OnMoveValidationMessage(RenderViewHostImpl* source, |
| 1131 const gfx::Rect& anchor_in_root_view); | 1131 const gfx::Rect& anchor_in_root_view); |
| 1132 | 1132 |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 // Adds/removes a callback called on creation of each new WebContents. | 1628 // Adds/removes a callback called on creation of each new WebContents. |
| 1629 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1629 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1630 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1630 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1631 | 1631 |
| 1632 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); | 1632 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); |
| 1633 }; | 1633 }; |
| 1634 | 1634 |
| 1635 } // namespace content | 1635 } // namespace content |
| 1636 | 1636 |
| 1637 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1637 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |