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

Side by Side Diff: ui/aura/window_delegate.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/aura/window.h ('k') | ui/aura/window_event_dispatcher.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AURA_WINDOW_DELEGATE_H_ 5 #ifndef UI_AURA_WINDOW_DELEGATE_H_
6 #define UI_AURA_WINDOW_DELEGATE_H_ 6 #define UI_AURA_WINDOW_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "ui/aura/aura_export.h" 10 #include "ui/aura/aura_export.h"
11 #include "ui/events/event_constants.h" 11 #include "ui/events/event_constants.h"
12 #include "ui/events/event_handler.h" 12 #include "ui/events/event_handler.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 14
15 namespace gfx { 15 namespace gfx {
16 class Canvas;
17 class Path; 16 class Path;
18 class Point; 17 class Point;
19 class Rect; 18 class Rect;
20 class Size; 19 class Size;
21 } 20 }
22 21
23 namespace ui { 22 namespace ui {
24 class GestureEvent;
25 class KeyEvent;
26 class Layer;
27 class MouseEvent;
28 class PaintContext; 23 class PaintContext;
29 class TextInputClient;
30 class Texture;
31 class TouchEvent;
32 } 24 }
33 25
34 namespace aura { 26 namespace aura {
35 27
36 // Delegate interface for aura::Window. 28 // Delegate interface for aura::Window.
37 class AURA_EXPORT WindowDelegate : public ui::EventHandler { 29 class AURA_EXPORT WindowDelegate : public ui::EventHandler {
38 public: 30 public:
39 // Returns the window's minimum size, or size 0,0 if there is no limit. 31 // Returns the window's minimum size, or size 0,0 if there is no limit.
40 virtual gfx::Size GetMinimumSize() const = 0; 32 virtual gfx::Size GetMinimumSize() const = 0;
41 33
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // Sent when the server requests the window to close. 97 // Sent when the server requests the window to close.
106 virtual void OnRequestClose(); 98 virtual void OnRequestClose();
107 99
108 protected: 100 protected:
109 ~WindowDelegate() override {} 101 ~WindowDelegate() override {}
110 }; 102 };
111 103
112 } // namespace aura 104 } // namespace aura
113 105
114 #endif // UI_AURA_WINDOW_DELEGATE_H_ 106 #endif // UI_AURA_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/aura/window.h ('k') | ui/aura/window_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698