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

Side by Side Diff: ui/platform_window/platform_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
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_PLATFORM_WINDOW_H_ 5 #ifndef UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
6 #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_ 6 #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "ui/base/cursor/cursor.h" 11 #include "ui/base/cursor/cursor.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Rect; 14 class Rect;
15 } 15 }
16 16
17 namespace ui { 17 namespace ui {
18 18
19 class PlatformImeController; 19 class PlatformImeController;
20 class PlatformWindowDelegate;
21 20
22 // Platform window. 21 // Platform window.
23 // 22 //
24 // Each instance of PlatformWindow represents a single window in the 23 // Each instance of PlatformWindow represents a single window in the
25 // underlying platform windowing system (i.e. X11/Win/OSX). 24 // underlying platform windowing system (i.e. X11/Win/OSX).
26 class PlatformWindow { 25 class PlatformWindow {
27 public: 26 public:
28 virtual ~PlatformWindow() {} 27 virtual ~PlatformWindow() {}
29 28
30 virtual void Show() = 0; 29 virtual void Show() = 0;
(...skipping 25 matching lines...) Expand all
56 virtual void ConfineCursorToBounds(const gfx::Rect& bounds) = 0; 55 virtual void ConfineCursorToBounds(const gfx::Rect& bounds) = 0;
57 56
58 // The PlatformImeController is owned by the PlatformWindow, the ownership is 57 // The PlatformImeController is owned by the PlatformWindow, the ownership is
59 // not transferred. 58 // not transferred.
60 virtual PlatformImeController* GetPlatformImeController() = 0; 59 virtual PlatformImeController* GetPlatformImeController() = 0;
61 }; 60 };
62 61
63 } // namespace ui 62 } // namespace ui
64 63
65 #endif // UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_ 64 #endif // UI_PLATFORM_WINDOW_PLATFORM_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/platform_window/android/platform_window_android.h ('k') | ui/platform_window/stub/stub_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698