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

Side by Side Diff: ui/message_center/views/toast_contents_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
« no previous file with comments | « ui/message_center/views/message_view.cc ('k') | ui/views/accessibility/ax_aura_obj_cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "ui/message_center/views/toast_contents_view.h" 5 #include "ui/message_center/views/toast_contents_view.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "ui/accessibility/ax_enums.h"
14 #include "ui/accessibility/ax_view_state.h" 15 #include "ui/accessibility/ax_view_state.h"
15 #include "ui/display/display.h" 16 #include "ui/display/display.h"
16 #include "ui/display/screen.h" 17 #include "ui/display/screen.h"
17 #include "ui/gfx/animation/animation_delegate.h" 18 #include "ui/gfx/animation/animation_delegate.h"
18 #include "ui/gfx/animation/slide_animation.h" 19 #include "ui/gfx/animation/slide_animation.h"
19 #include "ui/message_center/message_center_style.h" 20 #include "ui/message_center/message_center_style.h"
20 #include "ui/message_center/notification.h" 21 #include "ui/message_center/notification.h"
21 #include "ui/message_center/views/message_popup_collection.h" 22 #include "ui/message_center/views/message_popup_collection.h"
22 #include "ui/message_center/views/message_view.h" 23 #include "ui/message_center/views/message_view.h"
23 #include "ui/views/background.h" 24 #include "ui/views/background.h"
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 } 381 }
381 382
382 gfx::Rect ToastContentsView::GetClosedToastBounds(gfx::Rect bounds) { 383 gfx::Rect ToastContentsView::GetClosedToastBounds(gfx::Rect bounds) {
383 return gfx::Rect(bounds.x() + bounds.width() - kClosedToastWidth, 384 return gfx::Rect(bounds.x() + bounds.width() - kClosedToastWidth,
384 bounds.y(), 385 bounds.y(),
385 kClosedToastWidth, 386 kClosedToastWidth,
386 bounds.height()); 387 bounds.height());
387 } 388 }
388 389
389 } // namespace message_center 390 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/views/message_view.cc ('k') | ui/views/accessibility/ax_aura_obj_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698