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

Side by Side Diff: chrome/browser/views/download_item_view.cc

Issue 2969006: Revert 52336 - More header cleanup:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/views/download_item_view.h" 5 #include "chrome/browser/views/download_item_view.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "app/text_elider.h" 11 #include "app/text_elider.h"
12 #include "app/theme_provider.h" 12 #include "app/theme_provider.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/histogram.h"
16 #include "base/i18n/rtl.h" 15 #include "base/i18n/rtl.h"
17 #include "base/string_util.h" 16 #include "base/string_util.h"
18 #include "base/sys_string_conversions.h" 17 #include "base/sys_string_conversions.h"
19 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
20 #include "chrome/browser/browser_theme_provider.h" 19 #include "chrome/browser/browser_theme_provider.h"
21 #include "chrome/browser/download/download_item_model.h" 20 #include "chrome/browser/download/download_item_model.h"
22 #include "chrome/browser/download/download_util.h" 21 #include "chrome/browser/download/download_util.h"
23 #include "chrome/browser/views/download_shelf_view.h" 22 #include "chrome/browser/views/download_shelf_view.h"
24 #include "gfx/canvas_skia.h" 23 #include "gfx/canvas_skia.h"
25 #include "gfx/color_utils.h" 24 #include "gfx/color_utils.h"
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 void DownloadItemView::Reenable() { 1006 void DownloadItemView::Reenable() {
1008 disabled_while_opening_ = false; 1007 disabled_while_opening_ = false;
1009 SetEnabled(true); // Triggers a repaint. 1008 SetEnabled(true); // Triggers a repaint.
1010 } 1009 }
1011 1010
1012 bool DownloadItemView::InDropDownButtonXCoordinateRange(int x) { 1011 bool DownloadItemView::InDropDownButtonXCoordinateRange(int x) {
1013 if (x > drop_down_x_left_ && x < drop_down_x_right_) 1012 if (x > drop_down_x_left_ && x < drop_down_x_right_)
1014 return true; 1013 return true;
1015 return false; 1014 return false;
1016 } 1015 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698