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

Side by Side Diff: chrome/browser/ui/views/infobars/infobar_container_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) 2011 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/ui/views/infobars/infobar_container_view.h" 5 #include "chrome/browser/ui/views/infobars/infobar_container_view.h"
6 6
7 #include "chrome/browser/ui/infobar_container_delegate.h" 7 #include "chrome/browser/ui/infobar_container_delegate.h"
8 #include "chrome/browser/ui/view_ids.h" 8 #include "chrome/browser/ui/view_ids.h"
9 #include "chrome/browser/ui/views/infobars/infobar_view.h" 9 #include "chrome/browser/ui/views/infobars/infobar_view.h"
10 #include "chrome/grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
11 #include "ui/accessibility/ax_enums.h"
11 #include "ui/accessibility/ax_view_state.h" 12 #include "ui/accessibility/ax_view_state.h"
12 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/base/material_design/material_design_controller.h" 14 #include "ui/base/material_design/material_design_controller.h"
14 #include "ui/gfx/canvas.h" 15 #include "ui/gfx/canvas.h"
15 #include "ui/gfx/skia_util.h" 16 #include "ui/gfx/skia_util.h"
16 #include "ui/views/view_targeter.h" 17 #include "ui/views/view_targeter.h"
17 18
18 namespace { 19 namespace {
19 20
20 // The content shadow is drawn in two stages. A darker, shorter shadow is 21 // The content shadow is drawn in two stages. A darker, shorter shadow is
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 infobars::InfoBar* infobar, 132 infobars::InfoBar* infobar,
132 size_t position) { 133 size_t position) {
133 AddChildViewAt(static_cast<InfoBarView*>(infobar), 134 AddChildViewAt(static_cast<InfoBarView*>(infobar),
134 static_cast<int>(position)); 135 static_cast<int>(position));
135 } 136 }
136 137
137 void InfoBarContainerView::PlatformSpecificRemoveInfoBar( 138 void InfoBarContainerView::PlatformSpecificRemoveInfoBar(
138 infobars::InfoBar* infobar) { 139 infobars::InfoBar* infobar) {
139 RemoveChildView(static_cast<InfoBarView*>(infobar)); 140 RemoveChildView(static_cast<InfoBarView*>(infobar));
140 } 141 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/ui/views/infobars/infobar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698