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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 8475024: Changed argument to GetAcceptLangs() to a BrowserContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual bool IsSuitableHost(RenderProcessHost* process_host, 55 virtual bool IsSuitableHost(RenderProcessHost* process_host,
56 const GURL& site_url) OVERRIDE; 56 const GURL& site_url) OVERRIDE;
57 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, 57 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
58 const GURL& new_url) OVERRIDE; 58 const GURL& new_url) OVERRIDE;
59 59
60 virtual std::string GetCanonicalEncodingNameByAliasName( 60 virtual std::string GetCanonicalEncodingNameByAliasName(
61 const std::string& alias_name) OVERRIDE; 61 const std::string& alias_name) OVERRIDE;
62 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 62 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
63 int child_process_id) OVERRIDE; 63 int child_process_id) OVERRIDE;
64 virtual std::string GetApplicationLocale() OVERRIDE; 64 virtual std::string GetApplicationLocale() OVERRIDE;
65 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; 65 virtual std::string GetAcceptLangs(
66 const content::BrowserContext* context) OVERRIDE;
66 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; 67 virtual SkBitmap* GetDefaultFavicon() OVERRIDE;
67 virtual bool AllowAppCache(const GURL& manifest_url, 68 virtual bool AllowAppCache(const GURL& manifest_url,
68 const GURL& first_party, 69 const GURL& first_party,
69 const content::ResourceContext& context) OVERRIDE; 70 const content::ResourceContext& context) OVERRIDE;
70 virtual bool AllowGetCookie(const GURL& url, 71 virtual bool AllowGetCookie(const GURL& url,
71 const GURL& first_party, 72 const GURL& first_party,
72 const net::CookieList& cookie_list, 73 const net::CookieList& cookie_list,
73 const content::ResourceContext& context, 74 const content::ResourceContext& context,
74 int render_process_id, 75 int render_process_id,
75 int render_view_id) OVERRIDE; 76 int render_view_id) OVERRIDE;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; 169 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE;
169 #endif 170 #endif
170 171
171 private: 172 private:
172 ShellBrowserMainParts* shell_browser_main_parts_; 173 ShellBrowserMainParts* shell_browser_main_parts_;
173 }; 174 };
174 175
175 } // namespace content 176 } // namespace content
176 177
177 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 178 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698