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

Side by Side Diff: chrome/browser/download/download_util.cc

Issue 219042: linux: drop temp_scaffolding_stubs (Closed)
Patch Set: Created 11 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Download utility implementation 5 // Download utility implementation
6 6
7 #include "chrome/browser/download/download_util.h" 7 #include "chrome/browser/download/download_util.h"
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 GtkWidget* root = gtk_widget_get_toplevel(view); 280 GtkWidget* root = gtk_widget_get_toplevel(view);
281 if (!root) 281 if (!root)
282 return; 282 return;
283 views::WidgetGtk* widget = views::WidgetGtk::GetViewForNative(root); 283 views::WidgetGtk* widget = views::WidgetGtk::GetViewForNative(root);
284 if (!widget) 284 if (!widget)
285 return; 285 return;
286 286
287 widget->DoDrag(data, DragDropTypes::DRAG_COPY | DragDropTypes::DRAG_LINK); 287 widget->DoDrag(data, DragDropTypes::DRAG_COPY | DragDropTypes::DRAG_LINK);
288 #endif // OS_WIN 288 #endif // OS_WIN
289 } 289 }
290 #endif 290 #elif defined(OS_LINUX)
291 void DragDownload(const DownloadItem* download,
Evan Stade 2009/09/25 01:07:23 I don't understand why this exists. Seems to be fo
292 SkBitmap* icon,
293 gfx::NativeView view) {
294 NOTIMPLEMENTED();
295 }
296 #endif // OS_LINUX
291 297
292 } // namespace download_util 298 } // namespace download_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698