Work around WebKeyboardEvent.domCode not being set on OS X.
[chromium-blink-merge.git] / media / base / browser_cdm.h
blobf4902d8708bc16253b40a52b1dac41db923cab9d
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.
5 #ifndef MEDIA_BASE_BROWSER_CDM_H_
6 #define MEDIA_BASE_BROWSER_CDM_H_
8 #include "media/base/media_export.h"
9 #include "media/base/media_keys.h"
10 #include "media/base/player_tracker.h"
12 namespace media {
14 // Interface for browser side CDMs.
15 class MEDIA_EXPORT BrowserCdm : public MediaKeys, public PlayerTracker {
16 public:
17 ~BrowserCdm() override;
19 protected:
20 BrowserCdm();
22 private:
23 DISALLOW_COPY_AND_ASSIGN(BrowserCdm);
26 } // namespace media
28 #endif // MEDIA_BASE_BROWSER_CDM_H_