| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 // Removes the given accessibility mode from the current accessibility | 189 // Removes the given accessibility mode from the current accessibility |
| 190 // mode bitmap, managing the bits that are shared with other modes such | 190 // mode bitmap, managing the bits that are shared with other modes such |
| 191 // that a bit will only be turned off when all modes that depend on it | 191 // that a bit will only be turned off when all modes that depend on it |
| 192 // have been removed. | 192 // have been removed. |
| 193 void RemoveAccessibilityMode(AccessibilityMode mode); | 193 void RemoveAccessibilityMode(AccessibilityMode mode); |
| 194 | 194 |
| 195 // Clear the navigation transition data when the user navigates back to Chrome | 195 // Clear the navigation transition data when the user navigates back to Chrome |
| 196 // from a native app. | 196 // from a native app. |
| 197 void ClearNavigationTransitionData(); | 197 void ClearNavigationTransitionData(); |
| 198 | 198 |
| 199 // Updates the policy for handling animated images |
| 200 void UpdateAnimationPolicy(); |
| 201 |
| 199 // WebContents ------------------------------------------------------ | 202 // WebContents ------------------------------------------------------ |
| 200 WebContentsDelegate* GetDelegate() override; | 203 WebContentsDelegate* GetDelegate() override; |
| 201 void SetDelegate(WebContentsDelegate* delegate) override; | 204 void SetDelegate(WebContentsDelegate* delegate) override; |
| 202 NavigationControllerImpl& GetController() override; | 205 NavigationControllerImpl& GetController() override; |
| 203 const NavigationControllerImpl& GetController() const override; | 206 const NavigationControllerImpl& GetController() const override; |
| 204 BrowserContext* GetBrowserContext() const override; | 207 BrowserContext* GetBrowserContext() const override; |
| 205 const GURL& GetURL() const override; | 208 const GURL& GetURL() const override; |
| 206 const GURL& GetVisibleURL() const override; | 209 const GURL& GetVisibleURL() const override; |
| 207 const GURL& GetLastCommittedURL() const override; | 210 const GURL& GetLastCommittedURL() const override; |
| 208 RenderProcessHost* GetRenderProcessHost() const override; | 211 RenderProcessHost* GetRenderProcessHost() const override; |
| (...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 bool virtual_keyboard_requested_; | 1234 bool virtual_keyboard_requested_; |
| 1232 | 1235 |
| 1233 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; | 1236 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
| 1234 | 1237 |
| 1235 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1238 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1236 }; | 1239 }; |
| 1237 | 1240 |
| 1238 } // namespace content | 1241 } // namespace content |
| 1239 | 1242 |
| 1240 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1243 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |