Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / ui / ozone / platform / cast / overlay_manager_cast.h
blob2e033a92fbf0689e0bea8718ecffc34f2fafcdfe
1 // Copyright 2015 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 UI_OZONE_PLATFORM_CAST_OVERLAY_MANAGER_CAST_H_
6 #define UI_OZONE_PLATFORM_CAST_OVERLAY_MANAGER_CAST_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/ozone/public/overlay_manager_ozone.h"
11 namespace ui {
13 class OverlayManagerCast : public OverlayManagerOzone {
14 public:
15 OverlayManagerCast();
16 ~OverlayManagerCast() override;
18 // OverlayManagerOzone:
19 scoped_ptr<OverlayCandidatesOzone> CreateOverlayCandidates(
20 gfx::AcceleratedWidget w) override;
22 private:
24 DISALLOW_COPY_AND_ASSIGN(OverlayManagerCast);
27 } // namespace ui
29 #endif // UI_OZONE_PLATFORM_CAST_OVERLAY_MANAGER_CAST_H_