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

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

Issue 2000403003: [forbots] IWYU for ax_enums.h Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/views/download/download_item_view.h" 5 #include "chrome/browser/ui/views/download/download_item_view.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
(...skipping 23 matching lines...) Expand all
34 #include "chrome/browser/ui/views/download/download_feedback_dialog_view.h" 34 #include "chrome/browser/ui/views/download/download_feedback_dialog_view.h"
35 #include "chrome/browser/ui/views/download/download_shelf_context_menu_view.h" 35 #include "chrome/browser/ui/views/download/download_shelf_context_menu_view.h"
36 #include "chrome/browser/ui/views/download/download_shelf_view.h" 36 #include "chrome/browser/ui/views/download/download_shelf_view.h"
37 #include "chrome/browser/ui/views/frame/browser_view.h" 37 #include "chrome/browser/ui/views/frame/browser_view.h"
38 #include "chrome/common/pref_names.h" 38 #include "chrome/common/pref_names.h"
39 #include "chrome/grit/generated_resources.h" 39 #include "chrome/grit/generated_resources.h"
40 #include "components/prefs/pref_service.h" 40 #include "components/prefs/pref_service.h"
41 #include "content/public/browser/download_danger_type.h" 41 #include "content/public/browser/download_danger_type.h"
42 #include "grit/theme_resources.h" 42 #include "grit/theme_resources.h"
43 #include "third_party/icu/source/common/unicode/uchar.h" 43 #include "third_party/icu/source/common/unicode/uchar.h"
44 #include "ui/accessibility/ax_enums.h"
44 #include "ui/accessibility/ax_view_state.h" 45 #include "ui/accessibility/ax_view_state.h"
45 #include "ui/base/l10n/l10n_util.h" 46 #include "ui/base/l10n/l10n_util.h"
46 #include "ui/base/resource/resource_bundle.h" 47 #include "ui/base/resource/resource_bundle.h"
47 #include "ui/base/theme_provider.h" 48 #include "ui/base/theme_provider.h"
48 #include "ui/events/event.h" 49 #include "ui/events/event.h"
49 #include "ui/gfx/animation/slide_animation.h" 50 #include "ui/gfx/animation/slide_animation.h"
50 #include "ui/gfx/canvas.h" 51 #include "ui/gfx/canvas.h"
51 #include "ui/gfx/color_utils.h" 52 #include "ui/gfx/color_utils.h"
52 #include "ui/gfx/image/image.h" 53 #include "ui/gfx/image/image.h"
53 #include "ui/gfx/text_elider.h" 54 #include "ui/gfx/text_elider.h"
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 animation->Reset((to == HOT) ? 1.0 : 0.0); 1364 animation->Reset((to == HOT) ? 1.0 : 0.0);
1364 } 1365 }
1365 } 1366 }
1366 1367
1367 void DownloadItemView::ProgressTimerFired() { 1368 void DownloadItemView::ProgressTimerFired() {
1368 // Only repaint for the indeterminate size case. Otherwise, we'll repaint only 1369 // Only repaint for the indeterminate size case. Otherwise, we'll repaint only
1369 // when there's an update notified via OnDownloadUpdated(). 1370 // when there's an update notified via OnDownloadUpdated().
1370 if (model_.PercentComplete() < 0) 1371 if (model_.PercentComplete() < 0)
1371 SchedulePaint(); 1372 SchedulePaint();
1372 } 1373 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/conflicting_module_view_win.cc ('k') | chrome/browser/ui/views/download/download_item_view_md.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698