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

Side by Side Diff: ui/arc/notification/arc_custom_notification_view.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/arc/notification/arc_custom_notification_view.h" 5 #include "ui/arc/notification/arc_custom_notification_view.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/memory/ptr_util.h"
8 #include "components/exo/notification_surface.h" 9 #include "components/exo/notification_surface.h"
9 #include "components/exo/surface.h" 10 #include "components/exo/surface.h"
10 #include "third_party/skia/include/core/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
11 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
12 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
13 #include "ui/compositor/layer_animation_observer.h" 14 #include "ui/compositor/layer_animation_observer.h"
14 #include "ui/display/screen.h" 15 #include "ui/display/screen.h"
15 #include "ui/events/event_handler.h" 16 #include "ui/events/event_handler.h"
16 #include "ui/gfx/canvas.h" 17 #include "ui/gfx/canvas.h"
17 #include "ui/gfx/image/image_skia.h" 18 #include "ui/gfx/image/image_skia.h"
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 489
489 void ArcCustomNotificationView::OnNotificationSurfaceRemoved( 490 void ArcCustomNotificationView::OnNotificationSurfaceRemoved(
490 exo::NotificationSurface* surface) { 491 exo::NotificationSurface* surface) {
491 if (surface->notification_id() != notification_key_) 492 if (surface->notification_id() != notification_key_)
492 return; 493 return;
493 494
494 SetSurface(nullptr); 495 SetSurface(nullptr);
495 } 496 }
496 497
497 } // namespace arc 498 } // namespace arc
OLDNEW
« no previous file with comments | « ui/android/delegated_frame_host_android.cc ('k') | ui/arc/notification/arc_notification_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698