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

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

Issue 8591004: Don't build a bunch of stuff on Aura, rather than ifdefing out code in it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) && !defined(USE_AURA)
8 #include <windows.h> 7 #include <windows.h>
9 8
10 #include "base/file_util.h" 9 #include "base/file_util.h"
11 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
12 #include "content/public/common/url_fetcher.h" 11 #include "content/public/common/url_fetcher.h"
13 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
14 13
15 PluginDownloadUrlHelper::PluginDownloadUrlHelper( 14 PluginDownloadUrlHelper::PluginDownloadUrlHelper(
16 const std::string& download_url, 15 const std::string& download_url,
17 gfx::NativeWindow caller_window, 16 gfx::NativeWindow caller_window,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 74
76 if (::IsWindow(download_file_caller_window_)) { 75 if (::IsWindow(download_file_caller_window_)) {
77 ::SendMessage(download_file_caller_window_, WM_COPYDATA, NULL, 76 ::SendMessage(download_file_caller_window_, WM_COPYDATA, NULL,
78 reinterpret_cast<LPARAM>(&download_file_data)); 77 reinterpret_cast<LPARAM>(&download_file_data));
79 } 78 }
80 } 79 }
81 // Don't access any members after this. 80 // Don't access any members after this.
82 delete this; 81 delete this;
83 } 82 }
84 83
85 #endif // defined(OS_WIN) && !defined(USE_AURA)
OLDNEW
« no previous file with comments | « chrome/browser/plugin_download_helper.h ('k') | chrome/browser/plugin_installer_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698