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