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

Side by Side Diff: ui/platform_window/stub/stub_window.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/platform_window/platform_window.h ('k') | ui/platform_window/win/win_window.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 2014 The Chromium Authors. All rights reserved. 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 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_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_ 5 #ifndef UI_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_
6 #define UI_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_ 6 #define UI_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
11 #include "ui/platform_window/platform_window.h" 11 #include "ui/platform_window/platform_window.h"
12 #include "ui/platform_window/stub/stub_window_export.h" 12 #include "ui/platform_window/stub/stub_window_export.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 class PlatformWindowDelegate;
17
16 class STUB_WINDOW_EXPORT StubWindow : NON_EXPORTED_BASE(public PlatformWindow) { 18 class STUB_WINDOW_EXPORT StubWindow : NON_EXPORTED_BASE(public PlatformWindow) {
17 public: 19 public:
18 StubWindow(PlatformWindowDelegate* delegate, 20 StubWindow(PlatformWindowDelegate* delegate,
19 bool use_default_accelerated_widget = true); 21 bool use_default_accelerated_widget = true);
20 ~StubWindow() override; 22 ~StubWindow() override;
21 23
22 private: 24 private:
23 // PlatformWindow: 25 // PlatformWindow:
24 void Show() override; 26 void Show() override;
25 void Hide() override; 27 void Hide() override;
(...skipping 14 matching lines...) Expand all
40 42
41 PlatformWindowDelegate* delegate_; 43 PlatformWindowDelegate* delegate_;
42 gfx::Rect bounds_; 44 gfx::Rect bounds_;
43 45
44 DISALLOW_COPY_AND_ASSIGN(StubWindow); 46 DISALLOW_COPY_AND_ASSIGN(StubWindow);
45 }; 47 };
46 48
47 } // namespace ui 49 } // namespace ui
48 50
49 #endif // UI_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_ 51 #endif // UI_PLATFORM_WINDOW_STUB_STUB_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/platform_window/platform_window.h ('k') | ui/platform_window/win/win_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698