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

Side by Side Diff: ui/base/clipboard/clipboard_win.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/base/clipboard/clipboard.h ('k') | ui/base/cursor/cursor.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_BASE_CLIPBOARD_CLIPBOARD_WIN_H_ 5 #ifndef UI_BASE_CLIPBOARD_CLIPBOARD_WIN_H_
6 #define UI_BASE_CLIPBOARD_CLIPBOARD_WIN_H_ 6 #define UI_BASE_CLIPBOARD_CLIPBOARD_WIN_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "ui/base/clipboard/clipboard.h" 14 #include "ui/base/clipboard/clipboard.h"
15 15
16 namespace base {
17 namespace win {
18 class MessageWindow;
19 }
20 }
21
22 namespace gfx {
23 class Size;
24 }
25
16 namespace ui { 26 namespace ui {
17 27
18 class ClipboardWin : public Clipboard { 28 class ClipboardWin : public Clipboard {
19 private: 29 private:
20 friend class Clipboard; 30 friend class Clipboard;
21 31
22 ClipboardWin(); 32 ClipboardWin();
23 ~ClipboardWin() override; 33 ~ClipboardWin() override;
24 34
25 // Clipboard overrides: 35 // Clipboard overrides:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 82
73 // Mark this as mutable so const methods can still do lazy initialization. 83 // Mark this as mutable so const methods can still do lazy initialization.
74 mutable std::unique_ptr<base::win::MessageWindow> clipboard_owner_; 84 mutable std::unique_ptr<base::win::MessageWindow> clipboard_owner_;
75 85
76 DISALLOW_COPY_AND_ASSIGN(ClipboardWin); 86 DISALLOW_COPY_AND_ASSIGN(ClipboardWin);
77 }; 87 };
78 88
79 } // namespace ui 89 } // namespace ui
80 90
81 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_WIN_H_ 91 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/clipboard/clipboard.h ('k') | ui/base/cursor/cursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698