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

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

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 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
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/status_bubble_views.h" 5 #include "chrome/browser/ui/views/status_bubble_views.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/wm/window_state.h" 9 #include "ash/wm/window_state.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "chrome/browser/themes/theme_properties.h" 15 #include "chrome/browser/themes/theme_properties.h"
16 #include "chrome/browser/ui/elide_url.h" 16 #include "chrome/browser/ui/elide_url.h"
17 #include "net/base/net_util.h" 17 #include "net/base/net_util.h"
18 #include "third_party/skia/include/core/SkPaint.h" 18 #include "third_party/skia/include/core/SkPaint.h"
19 #include "third_party/skia/include/core/SkPath.h" 19 #include "third_party/skia/include/core/SkPath.h"
20 #include "third_party/skia/include/core/SkRect.h" 20 #include "third_party/skia/include/core/SkRect.h"
21 #include "ui/aura/window.h" 21 #include "ui/aura/window.h"
22 #include "ui/base/theme_provider.h" 22 #include "ui/base/theme_provider.h"
23 #include "ui/gfx/animation/animation_delegate.h" 23 #include "ui/gfx/animation/animation_delegate.h"
24 #include "ui/gfx/animation/linear_animation.h" 24 #include "ui/gfx/animation/linear_animation.h"
25 #include "ui/gfx/canvas.h" 25 #include "ui/gfx/canvas.h"
26 #include "ui/gfx/font_list.h" 26 #include "ui/gfx/font_list.h"
27 #include "ui/gfx/point.h" 27 #include "ui/gfx/geometry/point.h"
28 #include "ui/gfx/rect.h" 28 #include "ui/gfx/rect.h"
29 #include "ui/gfx/screen.h" 29 #include "ui/gfx/screen.h"
30 #include "ui/gfx/skia_util.h" 30 #include "ui/gfx/skia_util.h"
31 #include "ui/gfx/text_elider.h" 31 #include "ui/gfx/text_elider.h"
32 #include "ui/gfx/text_utils.h" 32 #include "ui/gfx/text_utils.h"
33 #include "ui/native_theme/native_theme.h" 33 #include "ui/native_theme/native_theme.h"
34 #include "ui/views/controls/scrollbar/native_scroll_bar.h" 34 #include "ui/views/controls/scrollbar/native_scroll_bar.h"
35 #include "ui/views/widget/root_view.h" 35 #include "ui/views/widget/root_view.h"
36 #include "ui/views/widget/widget.h" 36 #include "ui/views/widget/widget.h"
37 #include "url/gurl.h" 37 #include "url/gurl.h"
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 void StatusBubbleViews::SetBubbleWidth(int width) { 890 void StatusBubbleViews::SetBubbleWidth(int width) {
891 size_.set_width(width); 891 size_.set_width(width);
892 SetBounds(original_position_.x(), original_position_.y(), 892 SetBounds(original_position_.x(), original_position_.y(),
893 size_.width(), size_.height()); 893 size_.width(), size_.height());
894 } 894 }
895 895
896 void StatusBubbleViews::CancelExpandTimer() { 896 void StatusBubbleViews::CancelExpandTimer() {
897 if (expand_timer_factory_.HasWeakPtrs()) 897 if (expand_timer_factory_.HasWeakPtrs())
898 expand_timer_factory_.InvalidateWeakPtrs(); 898 expand_timer_factory_.InvalidateWeakPtrs();
899 } 899 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698