| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 // Removes the given accessibility mode from the current accessibility | 192 // Removes the given accessibility mode from the current accessibility |
| 193 // mode bitmap, managing the bits that are shared with other modes such | 193 // mode bitmap, managing the bits that are shared with other modes such |
| 194 // that a bit will only be turned off when all modes that depend on it | 194 // that a bit will only be turned off when all modes that depend on it |
| 195 // have been removed. | 195 // have been removed. |
| 196 void RemoveAccessibilityMode(AccessibilityMode mode); | 196 void RemoveAccessibilityMode(AccessibilityMode mode); |
| 197 | 197 |
| 198 // Clear the navigation transition data when the user navigates back to Chrome | 198 // Clear the navigation transition data when the user navigates back to Chrome |
| 199 // from a native app. | 199 // from a native app. |
| 200 void ClearNavigationTransitionData(); | 200 void ClearNavigationTransitionData(); |
| 201 | 201 |
| 202 // Updates the policy for handling animated images |
| 203 void UpdateAnimationPolicy(); |
| 204 |
| 202 // WebContents ------------------------------------------------------ | 205 // WebContents ------------------------------------------------------ |
| 203 WebContentsDelegate* GetDelegate() override; | 206 WebContentsDelegate* GetDelegate() override; |
| 204 void SetDelegate(WebContentsDelegate* delegate) override; | 207 void SetDelegate(WebContentsDelegate* delegate) override; |
| 205 NavigationControllerImpl& GetController() override; | 208 NavigationControllerImpl& GetController() override; |
| 206 const NavigationControllerImpl& GetController() const override; | 209 const NavigationControllerImpl& GetController() const override; |
| 207 BrowserContext* GetBrowserContext() const override; | 210 BrowserContext* GetBrowserContext() const override; |
| 208 const GURL& GetURL() const override; | 211 const GURL& GetURL() const override; |
| 209 const GURL& GetVisibleURL() const override; | 212 const GURL& GetVisibleURL() const override; |
| 210 const GURL& GetLastCommittedURL() const override; | 213 const GURL& GetLastCommittedURL() const override; |
| 211 RenderProcessHost* GetRenderProcessHost() const override; | 214 RenderProcessHost* GetRenderProcessHost() const override; |
| (...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 // Adds/removes a callback called on creation of each new WebContents. | 1261 // Adds/removes a callback called on creation of each new WebContents. |
| 1259 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1262 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1260 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1263 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1261 | 1264 |
| 1262 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1265 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1263 }; | 1266 }; |
| 1264 | 1267 |
| 1265 } // namespace content | 1268 } // namespace content |
| 1266 | 1269 |
| 1267 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1270 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |