| OLD | NEW |
| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; | 56 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; |
| 57 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; | 57 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; |
| 58 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 58 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
| 59 const GURL& new_url) OVERRIDE; | 59 const GURL& new_url) OVERRIDE; |
| 60 | 60 |
| 61 virtual std::string GetCanonicalEncodingNameByAliasName( | 61 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 62 const std::string& alias_name) OVERRIDE; | 62 const std::string& alias_name) OVERRIDE; |
| 63 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 63 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 64 int child_process_id) OVERRIDE; | 64 int child_process_id) OVERRIDE; |
| 65 virtual std::string GetApplicationLocale() OVERRIDE; | 65 virtual std::string GetApplicationLocale() OVERRIDE; |
| 66 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 66 virtual std::string GetAcceptLangs( |
| 67 content::BrowserContext* context) OVERRIDE; |
| 67 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 68 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
| 68 virtual bool AllowAppCache(const GURL& manifest_url, | 69 virtual bool AllowAppCache(const GURL& manifest_url, |
| 69 const GURL& first_party, | 70 const GURL& first_party, |
| 70 const content::ResourceContext& context) OVERRIDE; | 71 const content::ResourceContext& context) OVERRIDE; |
| 71 virtual bool AllowGetCookie(const GURL& url, | 72 virtual bool AllowGetCookie(const GURL& url, |
| 72 const GURL& first_party, | 73 const GURL& first_party, |
| 73 const net::CookieList& cookie_list, | 74 const net::CookieList& cookie_list, |
| 74 const content::ResourceContext& context, | 75 const content::ResourceContext& context, |
| 75 int render_process_id, | 76 int render_process_id, |
| 76 int render_view_id) OVERRIDE; | 77 int render_view_id) OVERRIDE; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 181 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 181 #endif | 182 #endif |
| 182 | 183 |
| 183 private: | 184 private: |
| 184 ShellBrowserMainParts* shell_browser_main_parts_; | 185 ShellBrowserMainParts* shell_browser_main_parts_; |
| 185 }; | 186 }; |
| 186 | 187 |
| 187 } // namespace content | 188 } // namespace content |
| 188 | 189 |
| 189 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 190 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |