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 // Adds the given accessibility mode to the current accessibility mode | 189 // Adds the given accessibility mode to the current accessibility mode |
190 // bitmap. | 190 // bitmap. |
191 void AddAccessibilityMode(AccessibilityMode mode); | 191 void AddAccessibilityMode(AccessibilityMode mode); |
192 | 192 |
193 // Removes the given accessibility mode from the current accessibility | 193 // Removes the given accessibility mode from the current accessibility |
194 // mode bitmap, managing the bits that are shared with other modes such | 194 // mode bitmap, managing the bits that are shared with other modes such |
195 // that a bit will only be turned off when all modes that depend on it | 195 // that a bit will only be turned off when all modes that depend on it |
196 // have been removed. | 196 // have been removed. |
197 void RemoveAccessibilityMode(AccessibilityMode mode); | 197 void RemoveAccessibilityMode(AccessibilityMode mode); |
198 | 198 |
199 void ClearNavigationTransitionData(); | |
oystein (OOO til 10th of July)
2014/10/27 18:58:28
nit: comment?
Zhen Wang
2014/10/27 21:49:38
Done.
| |
200 | |
199 // WebContents ------------------------------------------------------ | 201 // WebContents ------------------------------------------------------ |
200 WebContentsDelegate* GetDelegate() override; | 202 WebContentsDelegate* GetDelegate() override; |
201 void SetDelegate(WebContentsDelegate* delegate) override; | 203 void SetDelegate(WebContentsDelegate* delegate) override; |
202 NavigationControllerImpl& GetController() override; | 204 NavigationControllerImpl& GetController() override; |
203 const NavigationControllerImpl& GetController() const override; | 205 const NavigationControllerImpl& GetController() const override; |
204 BrowserContext* GetBrowserContext() const override; | 206 BrowserContext* GetBrowserContext() const override; |
205 const GURL& GetURL() const override; | 207 const GURL& GetURL() const override; |
206 const GURL& GetVisibleURL() const override; | 208 const GURL& GetVisibleURL() const override; |
207 const GURL& GetLastCommittedURL() const override; | 209 const GURL& GetLastCommittedURL() const override; |
208 RenderProcessHost* GetRenderProcessHost() const override; | 210 RenderProcessHost* GetRenderProcessHost() const override; |
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1213 scoped_ptr<WebContentsAudioMuter> audio_muter_; | 1215 scoped_ptr<WebContentsAudioMuter> audio_muter_; |
1214 | 1216 |
1215 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; | 1217 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
1216 | 1218 |
1217 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1219 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1218 }; | 1220 }; |
1219 | 1221 |
1220 } // namespace content | 1222 } // namespace content |
1221 | 1223 |
1222 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1224 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |