BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / chromeos / extensions / media_player_event_router.h
blobbbba9624cbb663bd0980de24fddb7c46e6db753c
1 // Copyright (c) 2011 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.
5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EVENT_ROUTER_H_
8 #include "base/basictypes.h"
10 namespace content {
11 class BrowserContext;
14 namespace extensions {
16 // Event router class for events related to Mediaplayer.
17 class MediaPlayerEventRouter {
18 public:
19 explicit MediaPlayerEventRouter(content::BrowserContext* context);
20 virtual ~MediaPlayerEventRouter();
22 // Send notification that next-track shortcut key was pressed.
23 void NotifyNextTrack();
25 // Send notification that previous-track shortcut key was pressed.
26 void NotifyPrevTrack();
28 // Send notification that play/pause shortcut key was pressed.
29 void NotifyTogglePlayState();
31 private:
32 content::BrowserContext* browser_context_;
34 DISALLOW_COPY_AND_ASSIGN(MediaPlayerEventRouter);
37 } // namespace extensions
39 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EVENT_ROUTER_H_