Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: ui/ozone/platform/cast/platform_window_cast.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/native_theme/native_theme_base.h ('k') | ui/ozone/platform/drm/gpu/drm_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_ 5 #ifndef UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_
6 #define UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_ 6 #define UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 #include "ui/platform_window/platform_window.h" 11 #include "ui/platform_window/platform_window.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 class PlatformWindowDelegate;
16
15 class PlatformWindowCast : public PlatformWindow { 17 class PlatformWindowCast : public PlatformWindow {
16 public: 18 public:
17 PlatformWindowCast(PlatformWindowDelegate* delegate, const gfx::Rect& bounds); 19 PlatformWindowCast(PlatformWindowDelegate* delegate, const gfx::Rect& bounds);
18 ~PlatformWindowCast() override {} 20 ~PlatformWindowCast() override {}
19 21
20 // PlatformWindow implementation: 22 // PlatformWindow implementation:
21 gfx::Rect GetBounds() override; 23 gfx::Rect GetBounds() override;
22 void SetBounds(const gfx::Rect& bounds) override; 24 void SetBounds(const gfx::Rect& bounds) override;
23 void SetTitle(const base::string16& title) override; 25 void SetTitle(const base::string16& title) override;
24 void Show() override {} 26 void Show() override {}
(...skipping 14 matching lines...) Expand all
39 PlatformWindowDelegate* delegate_; 41 PlatformWindowDelegate* delegate_;
40 gfx::Rect bounds_; 42 gfx::Rect bounds_;
41 gfx::AcceleratedWidget widget_; 43 gfx::AcceleratedWidget widget_;
42 44
43 DISALLOW_COPY_AND_ASSIGN(PlatformWindowCast); 45 DISALLOW_COPY_AND_ASSIGN(PlatformWindowCast);
44 }; 46 };
45 47
46 } // namespace ui 48 } // namespace ui
47 49
48 #endif // UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_ 50 #endif // UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme_base.h ('k') | ui/ozone/platform/drm/gpu/drm_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698