Fix search results being clipped in app list.
[chromium-blink-merge.git] / ui / ozone / platform / cast / platform_window_cast.h
blob21e5a68125a4724d2a409f7fa9afa3a577cae27b
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_PLATFORM_WINDOW_CAST_H_
6 #define UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_
8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/platform_window/platform_window.h"
12 namespace ui {
14 class PlatformWindowCast : public PlatformWindow {
15 public:
16 PlatformWindowCast(PlatformWindowDelegate* delegate, const gfx::Rect& bounds);
17 ~PlatformWindowCast() override {}
19 // PlatformWindow implementation:
20 gfx::Rect GetBounds() override;
21 void SetBounds(const gfx::Rect& bounds) override;
22 void Show() override {}
23 void Hide() override {}
24 void Close() override {}
25 void SetCapture() override {}
26 void ReleaseCapture() override {}
27 void ToggleFullscreen() override {}
28 void Maximize() override {}
29 void Minimize() override {}
30 void Restore() override {}
31 void SetCursor(PlatformCursor cursor) override {}
32 void MoveCursorTo(const gfx::Point& location) override {}
33 void ConfineCursorToBounds(const gfx::Rect& bounds) override {}
35 private:
36 PlatformWindowDelegate* delegate_;
37 gfx::Rect bounds_;
38 gfx::AcceleratedWidget widget_;
40 DISALLOW_COPY_AND_ASSIGN(PlatformWindowCast);
43 } // namespace ui
45 #endif // UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_