Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 672973003: Navigation transitions (web to native app): Clear navigation transition data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 // Clear the navigation transition data when the user navigates back to Chrome
200 // from a native app.
201 void ClearNavigationTransitionData();
202
199 // WebContents ------------------------------------------------------ 203 // WebContents ------------------------------------------------------
200 WebContentsDelegate* GetDelegate() override; 204 WebContentsDelegate* GetDelegate() override;
201 void SetDelegate(WebContentsDelegate* delegate) override; 205 void SetDelegate(WebContentsDelegate* delegate) override;
202 NavigationControllerImpl& GetController() override; 206 NavigationControllerImpl& GetController() override;
203 const NavigationControllerImpl& GetController() const override; 207 const NavigationControllerImpl& GetController() const override;
204 BrowserContext* GetBrowserContext() const override; 208 BrowserContext* GetBrowserContext() const override;
205 const GURL& GetURL() const override; 209 const GURL& GetURL() const override;
206 const GURL& GetVisibleURL() const override; 210 const GURL& GetVisibleURL() const override;
207 const GURL& GetLastCommittedURL() const override; 211 const GURL& GetLastCommittedURL() const override;
208 RenderProcessHost* GetRenderProcessHost() const override; 212 RenderProcessHost* GetRenderProcessHost() const override;
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 scoped_ptr<WebContentsAudioMuter> audio_muter_; 1217 scoped_ptr<WebContentsAudioMuter> audio_muter_;
1214 1218
1215 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; 1219 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
1216 1220
1217 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1221 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1218 }; 1222 };
1219 1223
1220 } // namespace content 1224 } // namespace content
1221 1225
1222 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1226 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698