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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 133 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
134 const std::string& key, | 134 const std::string& key, |
135 const std::string& value) OVERRIDE; | 135 const std::string& value) OVERRIDE; |
136 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 136 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
137 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 137 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
138 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 138 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
139 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 139 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
140 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 140 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
141 | 141 |
142 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 142 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
143 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; | 143 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE; |
144 #endif | 144 #endif |
145 | 145 |
146 #if defined(OS_WIN) | 146 #if defined(OS_WIN) |
147 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 147 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
148 #endif | 148 #endif |
149 | 149 |
150 #if defined(USE_NSS) | 150 #if defined(USE_NSS) |
151 virtual | 151 virtual |
152 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 152 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
153 const GURL& url) OVERRIDE; | 153 const GURL& url) OVERRIDE; |
154 #endif | 154 #endif |
155 | 155 |
156 #if defined(OS_WIN) | 156 #if defined(OS_WIN) |
157 // TabContentsViewWinDelegate implementation. | 157 // TabContentsViewWinDelegate implementation. |
158 virtual TabContents* CreateNewWindow( | 158 virtual TabContents* CreateNewWindow( |
159 TabContentsViewWin* tab_contents_view, | 159 TabContentsViewWin* tab_contents_view, |
160 int route_id, | 160 int route_id, |
161 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 161 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
162 #endif | 162 #endif |
163 | 163 |
164 private: | 164 private: |
165 ShellBrowserMainParts* shell_browser_main_parts_; | 165 ShellBrowserMainParts* shell_browser_main_parts_; |
166 }; | 166 }; |
167 | 167 |
168 } // namespace content | 168 } // namespace content |
169 | 169 |
170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |