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

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

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge with master Created 7 years, 10 months 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
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 virtual std::string GetDefaultDownloadName() OVERRIDE; 203 virtual std::string GetDefaultDownloadName() OVERRIDE;
204 virtual void DidCreatePpapiPlugin( 204 virtual void DidCreatePpapiPlugin(
205 content::BrowserPpapiHost* browser_host) OVERRIDE; 205 content::BrowserPpapiHost* browser_host) OVERRIDE;
206 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 206 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
207 int plugin_process_id) OVERRIDE; 207 int plugin_process_id) OVERRIDE;
208 virtual bool AllowPepperSocketAPI( 208 virtual bool AllowPepperSocketAPI(
209 content::BrowserContext* browser_context, 209 content::BrowserContext* browser_context,
210 const GURL& url, 210 const GURL& url,
211 const content::SocketPermissionRequest& params) OVERRIDE; 211 const content::SocketPermissionRequest& params) OVERRIDE;
212 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; 212 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE;
213 virtual void BeforeWriteToClipboard(
214 const content::ClipboardWriteCallbackParams& params) OVERRIDE;
213 215
214 #if defined(OS_POSIX) && !defined(OS_MACOSX) 216 #if defined(OS_POSIX) && !defined(OS_MACOSX)
215 virtual void GetAdditionalMappedFilesForChildProcess( 217 virtual void GetAdditionalMappedFilesForChildProcess(
216 const CommandLine& command_line, 218 const CommandLine& command_line,
217 int child_process_id, 219 int child_process_id,
218 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; 220 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE;
219 #endif 221 #endif
220 #if defined(OS_WIN) 222 #if defined(OS_WIN)
221 virtual const wchar_t* GetResourceDllName() OVERRIDE; 223 virtual const wchar_t* GetResourceDllName() OVERRIDE;
222 #endif 224 #endif
(...skipping 17 matching lines...) Expand all
240 // Cached version of the locale so we can return the locale on the I/O 242 // Cached version of the locale so we can return the locale on the I/O
241 // thread. 243 // thread.
242 std::string io_thread_application_locale_; 244 std::string io_thread_application_locale_;
243 245
244 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 246 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
245 }; 247 };
246 248
247 } // namespace chrome 249 } // namespace chrome
248 250
249 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 251 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698