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

Side by Side Diff: chrome/browser/plugin_download_helper.cc

Issue 7834048: Preliminary work to allow Chrome to build with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | 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 #include "chrome/browser/plugin_download_helper.h" 5 #include "chrome/browser/plugin_download_helper.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN) && !defined(USE_AURA)
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "content/browser/browser_thread.h" 11 #include "content/browser/browser_thread.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 13
14 PluginDownloadUrlHelper::PluginDownloadUrlHelper( 14 PluginDownloadUrlHelper::PluginDownloadUrlHelper(
15 const std::string& download_url, 15 const std::string& download_url,
16 gfx::NativeWindow caller_window, 16 gfx::NativeWindow caller_window,
17 PluginDownloadUrlHelper::DownloadDelegate* delegate) 17 PluginDownloadUrlHelper::DownloadDelegate* delegate)
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 if (::IsWindow(download_file_caller_window_)) { 74 if (::IsWindow(download_file_caller_window_)) {
75 ::SendMessage(download_file_caller_window_, WM_COPYDATA, NULL, 75 ::SendMessage(download_file_caller_window_, WM_COPYDATA, NULL,
76 reinterpret_cast<LPARAM>(&download_file_data)); 76 reinterpret_cast<LPARAM>(&download_file_data));
77 } 77 }
78 } 78 }
79 // Don't access any members after this. 79 // Don't access any members after this.
80 delete this; 80 delete this;
81 } 81 }
82 82
83 #endif // OS_WIN 83 #endif // defined(OS_WIN) && !defined(USE_AURA)
OLDNEW
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/plugin_installer_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698