| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual bool IsHandledURL(const GURL& url) override; | 50 virtual bool IsHandledURL(const GURL& url) override; |
| 51 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 51 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 52 int child_process_id) override; | 52 int child_process_id) override; |
| 53 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 53 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
| 54 const GURL& url, | 54 const GURL& url, |
| 55 WebPreferences* prefs) override; | 55 WebPreferences* prefs) override; |
| 56 virtual void ResourceDispatcherHostCreated() override; | 56 virtual void ResourceDispatcherHostCreated() override; |
| 57 virtual AccessTokenStore* CreateAccessTokenStore() override; | 57 virtual AccessTokenStore* CreateAccessTokenStore() override; |
| 58 virtual std::string GetDefaultDownloadName() override; | 58 virtual std::string GetDefaultDownloadName() override; |
| 59 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | 59 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 60 WebContents* web_contents) override; | 60 WebContents* web_contents, |
| 61 gfx::NativeView context) override; |
| 61 virtual QuotaPermissionContext* CreateQuotaPermissionContext() override; | 62 virtual QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 62 virtual void RequestDesktopNotificationPermission( | 63 virtual void RequestDesktopNotificationPermission( |
| 63 const GURL& source_origin, | 64 const GURL& source_origin, |
| 64 RenderFrameHost* render_frame_host, | 65 RenderFrameHost* render_frame_host, |
| 65 const base::Callback<void(blink::WebNotificationPermission)>& callback) | 66 const base::Callback<void(blink::WebNotificationPermission)>& callback) |
| 66 override; | 67 override; |
| 67 virtual blink::WebNotificationPermission | 68 virtual blink::WebNotificationPermission |
| 68 CheckDesktopNotificationPermission( | 69 CheckDesktopNotificationPermission( |
| 69 const GURL& source_url, | 70 const GURL& source_url, |
| 70 ResourceContext* context, | 71 ResourceContext* context, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 resource_dispatcher_host_delegate_; | 108 resource_dispatcher_host_delegate_; |
| 108 | 109 |
| 109 base::FilePath webkit_source_dir_; | 110 base::FilePath webkit_source_dir_; |
| 110 | 111 |
| 111 ShellBrowserMainParts* shell_browser_main_parts_; | 112 ShellBrowserMainParts* shell_browser_main_parts_; |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } // namespace content | 115 } // namespace content |
| 115 | 116 |
| 116 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 117 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |