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

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

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 years, 11 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) 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/views/download_item_view.h" 5 #include "chrome/browser/ui/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 "base/callback.h" 12 #include "base/callback.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/i18n/rtl.h" 14 #include "base/i18n/rtl.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
16 #include "base/string_util.h" 16 #include "base/string_util.h"
17 #include "base/sys_string_conversions.h" 17 #include "base/sys_string_conversions.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
20 #include "chrome/browser/download/download_item_model.h" 20 #include "chrome/browser/download/download_item_model.h"
21 #include "chrome/browser/download/download_util.h" 21 #include "chrome/browser/download/download_util.h"
22 #include "chrome/browser/themes/browser_theme_provider.h" 22 #include "chrome/browser/themes/browser_theme_provider.h"
23 #include "chrome/browser/views/download_shelf_view.h" 23 #include "chrome/browser/ui/views/download_shelf_view.h"
24 #include "gfx/canvas_skia.h" 24 #include "gfx/canvas_skia.h"
25 #include "gfx/color_utils.h" 25 #include "gfx/color_utils.h"
26 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "grit/theme_resources.h" 27 #include "grit/theme_resources.h"
28 #include "ui/base/animation/slide_animation.h" 28 #include "ui/base/animation/slide_animation.h"
29 #include "views/controls/button/native_button.h" 29 #include "views/controls/button/native_button.h"
30 #include "views/controls/menu/menu_2.h" 30 #include "views/controls/menu/menu_2.h"
31 #include "views/widget/root_view.h" 31 #include "views/widget/root_view.h"
32 #include "views/widget/widget.h" 32 #include "views/widget/widget.h"
33 33
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 1073
1074 // If the name has changed, call SetAccessibleName and notify 1074 // If the name has changed, call SetAccessibleName and notify
1075 // assistive technology that the name has changed so they can 1075 // assistive technology that the name has changed so they can
1076 // announce it immediately. 1076 // announce it immediately.
1077 if (new_name != current_name) { 1077 if (new_name != current_name) {
1078 SetAccessibleName(new_name); 1078 SetAccessibleName(new_name);
1079 if (GetWidget()) 1079 if (GetWidget())
1080 NotifyAccessibilityEvent(AccessibilityTypes::EVENT_NAME_CHANGED); 1080 NotifyAccessibilityEvent(AccessibilityTypes::EVENT_NAME_CHANGED);
1081 } 1081 }
1082 } 1082 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/dom_view_browsertest.cc ('k') | chrome/browser/ui/views/download_shelf_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698