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

Side by Side Diff: ui/ozone/platform/caca/caca_window.h

Issue 403263002: platform-window: Add a PlatformWindowFactory for creating windows. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « ui/ozone/ozone.gyp ('k') | ui/ozone/platform/caca/caca_window.cc » ('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_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ 5 #ifndef UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_
6 #define UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ 6 #define UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_
7 7
8 #include <caca.h> 8 #include <caca.h>
9 9
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "ui/events/platform/platform_event_dispatcher.h" 13 #include "ui/events/platform/platform_event_dispatcher.h"
14 #include "ui/gfx/geometry/size.h" 14 #include "ui/gfx/geometry/size.h"
15 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 #include "ui/ozone/platform/caca/scoped_caca_types.h" 16 #include "ui/ozone/platform/caca/scoped_caca_types.h"
17 #include "ui/platform_window/platform_window.h" 17 #include "ui/platform_window/types/platform_window.h"
18 18
19 namespace ui { 19 namespace ui {
20 20
21 class CacaEventFactory; 21 class CacaEventFactory;
22 class CacaWindowManager; 22 class CacaWindowManager;
23 class PlatformWindowDelegate; 23 class PlatformWindowDelegate;
24 24
25 // Basic initialization of Libcaca. This needs to be shared between SFO and EFO 25 // Basic initialization of Libcaca. This needs to be shared between SFO and EFO
26 // since both need the |display_| to draw and process events respectively. 26 // since both need the |display_| to draw and process events respectively.
27 // Note, |canvas_| needs to be here since it is needed for creating a 27 // Note, |canvas_| needs to be here since it is needed for creating a
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 gfx::Size bitmap_size_; 86 gfx::Size bitmap_size_;
87 87
88 base::WeakPtrFactory<CacaWindow> weak_ptr_factory_; 88 base::WeakPtrFactory<CacaWindow> weak_ptr_factory_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(CacaWindow); 90 DISALLOW_COPY_AND_ASSIGN(CacaWindow);
91 }; 91 };
92 92
93 } // namespace ui 93 } // namespace ui
94 94
95 #endif // UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ 95 #endif // UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/ozone/ozone.gyp ('k') | ui/ozone/platform/caca/caca_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698