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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 76063007: Clean up RenderViewHostManager swapping logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual bool ShouldAllowOpenURL(content::SiteInstance* site_instance, 91 virtual bool ShouldAllowOpenURL(content::SiteInstance* site_instance,
92 const GURL& url) OVERRIDE; 92 const GURL& url) OVERRIDE;
93 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 93 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
94 const GURL& site_url) OVERRIDE; 94 const GURL& site_url) OVERRIDE;
95 virtual bool ShouldTryToUseExistingProcessHost( 95 virtual bool ShouldTryToUseExistingProcessHost(
96 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; 96 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
97 virtual void SiteInstanceGotProcess( 97 virtual void SiteInstanceGotProcess(
98 content::SiteInstance* site_instance) OVERRIDE; 98 content::SiteInstance* site_instance) OVERRIDE;
99 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) 99 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
100 OVERRIDE; 100 OVERRIDE;
101 virtual bool ShouldSwapProcessesForNavigation( 101 virtual bool ShouldSwapBrowsingInstancesForNavigation(
102 content::SiteInstance* site_instance, 102 content::SiteInstance* site_instance,
103 const GURL& current_url, 103 const GURL& current_url,
104 const GURL& new_url) OVERRIDE; 104 const GURL& new_url) OVERRIDE;
105 virtual bool ShouldSwapProcessesForRedirect( 105 virtual bool ShouldSwapProcessesForRedirect(
106 content::ResourceContext* resource_context, 106 content::ResourceContext* resource_context,
107 const GURL& current_url, 107 const GURL& current_url,
108 const GURL& new_url) OVERRIDE; 108 const GURL& new_url) OVERRIDE;
109 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE; 109 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE;
110 virtual std::string GetCanonicalEncodingNameByAliasName( 110 virtual std::string GetCanonicalEncodingNameByAliasName(
111 const std::string& alias_name) OVERRIDE; 111 const std::string& alias_name) OVERRIDE;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 #endif 281 #endif
282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> 282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate>
283 permissions_policy_delegate_; 283 permissions_policy_delegate_;
284 284
285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
286 }; 286 };
287 287
288 } // namespace chrome 288 } // namespace chrome
289 289
290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698