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

Side by Side Diff: athena/home/minimized_home.h

Issue 394043002: athena: Add a minimized state for the home-card. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « athena/home/home_card_impl.cc ('k') | athena/home/minimized_home.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 ATHENA_HOME_MINIMIZED_HOME_H_
6 #define ATHENA_HOME_MINIMIZED_HOME_H_
7
8 namespace aura {
9 class Window;
10 }
11
12 namespace views {
13 class Widget;
14 }
15
16 namespace athena {
17
18 class MinimizedHomeDragDelegate {
19 public:
20 virtual ~MinimizedHomeDragDelegate() {}
21
22 virtual void OnDragUpCompleted() = 0;
23 };
24
25 // Note that |delegate| is guaranteed to be alive as long as the returned widget
26 // is alive.
27 views::Widget* CreateMinimizedHome(aura::Window* container,
28 MinimizedHomeDragDelegate* delegate);
29
30 } // namespace athena
31
32 #endif // ATHENA_HOME_MINIMIZED_HOME_H_
OLDNEW
« no previous file with comments | « athena/home/home_card_impl.cc ('k') | athena/home/minimized_home.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698