summaryrefslogtreecommitdiffstats
path: root/ash/launcher/launcher_delegate.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-14 17:27:26 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-14 17:27:26 +0000
commit06e1f09d602298b7452af60d6f5bf7d10b645c11 (patch)
treeb17c0db7821f21e3b85f402f5c3378df5f4e83cc /ash/launcher/launcher_delegate.h
parent73e621537ce3019b31aa234a80f5e99e191c3121 (diff)
downloadchromium_src-06e1f09d602298b7452af60d6f5bf7d10b645c11.zip
chromium_src-06e1f09d602298b7452af60d6f5bf7d10b645c11.tar.gz
chromium_src-06e1f09d602298b7452af60d6f5bf7d10b645c11.tar.bz2
ash: Document the ownership of LauncherDelegate.
R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10389120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136897 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/launcher/launcher_delegate.h')
-rw-r--r--ash/launcher/launcher_delegate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ash/launcher/launcher_delegate.h b/ash/launcher/launcher_delegate.h
index d3ce181..fe7983e 100644
--- a/ash/launcher/launcher_delegate.h
+++ b/ash/launcher/launcher_delegate.h
@@ -19,6 +19,7 @@ namespace ash {
// Delegate for the Launcher.
class ASH_EXPORT LauncherDelegate {
public:
+ // Launcher owns the delegate.
virtual ~LauncherDelegate() {}
// Invoked when the user clicks on button in the launcher to create a new
@@ -51,10 +52,10 @@ class ASH_EXPORT LauncherDelegate {
// Returns the id of the item associated with the specified window, or 0 if
// there isn't one.
- virtual ash::LauncherID GetIDByWindow(aura::Window* window) = 0;
+ virtual LauncherID GetIDByWindow(aura::Window* window) = 0;
// Whether the given launcher item is draggable.
- virtual bool IsDraggable(const ash::LauncherItem& item) = 0;
+ virtual bool IsDraggable(const LauncherItem& item) = 0;
};
} // namespace ash