OLD | NEW |
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/location_bar/location_bar_view.h" | 5 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "chrome/browser/ui/webui/instant_ui.h" | 55 #include "chrome/browser/ui/webui/instant_ui.h" |
56 #include "chrome/common/chrome_notification_types.h" | 56 #include "chrome/common/chrome_notification_types.h" |
57 #include "chrome/common/chrome_switches.h" | 57 #include "chrome/common/chrome_switches.h" |
58 #include "chrome/common/extensions/extension_switch_utils.h" | 58 #include "chrome/common/extensions/extension_switch_utils.h" |
59 #include "chrome/common/pref_names.h" | 59 #include "chrome/common/pref_names.h" |
60 #include "content/public/browser/notification_service.h" | 60 #include "content/public/browser/notification_service.h" |
61 #include "content/public/browser/render_widget_host_view.h" | 61 #include "content/public/browser/render_widget_host_view.h" |
62 #include "content/public/browser/web_contents.h" | 62 #include "content/public/browser/web_contents.h" |
63 #include "grit/generated_resources.h" | 63 #include "grit/generated_resources.h" |
64 #include "grit/theme_resources.h" | 64 #include "grit/theme_resources.h" |
65 #include "grit/theme_resources_standard.h" | |
66 #include "ui/base/accessibility/accessible_view_state.h" | 65 #include "ui/base/accessibility/accessible_view_state.h" |
67 #include "ui/base/dragdrop/drag_drop_types.h" | 66 #include "ui/base/dragdrop/drag_drop_types.h" |
68 #include "ui/base/l10n/l10n_util.h" | 67 #include "ui/base/l10n/l10n_util.h" |
69 #include "ui/base/layout.h" | 68 #include "ui/base/layout.h" |
70 #include "ui/base/resource/resource_bundle.h" | 69 #include "ui/base/resource/resource_bundle.h" |
71 #include "ui/base/theme_provider.h" | 70 #include "ui/base/theme_provider.h" |
72 #include "ui/gfx/canvas.h" | 71 #include "ui/gfx/canvas.h" |
73 #include "ui/gfx/color_utils.h" | 72 #include "ui/gfx/color_utils.h" |
74 #include "ui/gfx/image/image.h" | 73 #include "ui/gfx/image/image.h" |
75 #include "ui/gfx/skia_util.h" | 74 #include "ui/gfx/skia_util.h" |
(...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1492 } | 1491 } |
1493 | 1492 |
1494 void LocationBarView::CleanupFadeAnimation() { | 1493 void LocationBarView::CleanupFadeAnimation() { |
1495 // Since we're no longer animating we don't need our layer. | 1494 // Since we're no longer animating we don't need our layer. |
1496 SetPaintToLayer(false); | 1495 SetPaintToLayer(false); |
1497 // Bubble labels don't need a transparent background anymore. | 1496 // Bubble labels don't need a transparent background anymore. |
1498 ev_bubble_view_->SetLabelBackgroundColor(SK_ColorWHITE); | 1497 ev_bubble_view_->SetLabelBackgroundColor(SK_ColorWHITE); |
1499 selected_keyword_view_->SetLabelBackgroundColor(SK_ColorWHITE); | 1498 selected_keyword_view_->SetLabelBackgroundColor(SK_ColorWHITE); |
1500 } | 1499 } |
1501 #endif // USE_AURA | 1500 #endif // USE_AURA |
OLD | NEW |