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

Side by Side Diff: ui/arc/notification/arc_notification_surface.h

Issue 2723143002: Add unittests of ArcCustomNotificationView (Closed)
Patch Set: wip Created 3 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_SURFACE_H_
6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_SURFACE_H_
7
8 #include <memory>
9 #include <string>
10
11 #include "base/macros.h"
12 #include "ui/gfx/geometry/size.h"
13
14 namespace aura {
15 class Window;
16 }
17
18 namespace views {
19 class NativeViewHost;
20 }
21
22 namespace arc {
23
24 // Handles notification surface role of a given surface.
25 class ArcNotificationSurface {
26 public:
27 virtual ~ArcNotificationSurface() = default;
28
29 virtual gfx::Size GetSize() const = 0;
30
31 virtual void AttachWindow(views::NativeViewHost* native_view_host) = 0;
32
33 virtual aura::Window* GetWindow() const = 0;
34 virtual const std::string& GetNotificationId() const = 0;
35 };
36
37 } // namespace arc
38
39 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_SURFACE_H_
OLDNEW
« no previous file with comments | « ui/arc/notification/arc_notification_content_view.cc ('k') | ui/arc/notification/arc_notification_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698