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

Side by Side Diff: ash/launcher/launcher_util.h

Issue 12442009: Minor Ash panel related cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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 | « no previous file | ash/launcher/launcher_util.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef ASH_LAUNCHER_LAUNCHER_UTIL_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_UTIL_H_
6 #define ASH_LAUNCHER_LAUNCHER_UTIL_H_ 6 #define ASH_LAUNCHER_LAUNCHER_UTIL_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace aura {
11 class Window;
12 }
13
14 namespace ui {
15 class Event;
16 }
17
18 namespace ash { 10 namespace ash {
19 class LauncherModel; 11 class LauncherModel;
20 12
21 namespace launcher { 13 namespace launcher {
22 14
23 // Return the index of the browser item from a given |launcher_model|. 15 // Return the index of the browser item from a given |launcher_model|.
24 ASH_EXPORT int GetBrowserItemIndex(const LauncherModel& launcher_model); 16 ASH_EXPORT int GetBrowserItemIndex(const LauncherModel& launcher_model);
25 17
26 // Move the |maybe_panel| to the root window where the |event| occured if
27 // |maybe_panel| is of aura::client::WINDOW_TYPE_PANEL and it's not
28 // in the same root window.
29 ASH_EXPORT void MoveToEventRootIfPanel(aura::Window* maybe_panel,
30 const ui::Event& event);
31
32 } // namespace launcher 18 } // namespace launcher
33 } // namespace ash 19 } // namespace ash
34 20
35 #endif // ASH_LAUNCHER_LAUNCHER_UTIL_H_ 21 #endif // ASH_LAUNCHER_LAUNCHER_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | ash/launcher/launcher_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698