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

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

Issue 2253173002: Remove callbacks for SurfaceFactoryOzone::LoadEGLGLES2Bindings(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « ui/ozone/common/egl_util.cc ('k') | ui/ozone/platform/caca/caca_window_manager.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_MANAGER_H_ 5 #ifndef UI_OZONE_PLATFORM_CACA_CACA_WINDOW_MANAGER_H_
6 #define UI_OZONE_PLATFORM_CACA_CACA_WINDOW_MANAGER_H_ 6 #define UI_OZONE_PLATFORM_CACA_CACA_WINDOW_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 16 matching lines...) Expand all
27 CacaWindowManager(); 27 CacaWindowManager();
28 ~CacaWindowManager() override; 28 ~CacaWindowManager() override;
29 29
30 // Register a new libcaca window/instance. Returns the window id. 30 // Register a new libcaca window/instance. Returns the window id.
31 int32_t AddWindow(CacaWindow* window); 31 int32_t AddWindow(CacaWindow* window);
32 32
33 // Remove a libcaca window/instance. 33 // Remove a libcaca window/instance.
34 void RemoveWindow(int32_t window_id, CacaWindow* window); 34 void RemoveWindow(int32_t window_id, CacaWindow* window);
35 35
36 // ui::SurfaceFactoryOzone overrides: 36 // ui::SurfaceFactoryOzone overrides:
37 bool LoadEGLGLES2Bindings(
38 AddGLLibraryCallback add_gl_library,
39 SetGLGetProcAddressProcCallback set_gl_get_proc_address) override;
40 std::unique_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget( 37 std::unique_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
41 gfx::AcceleratedWidget widget) override; 38 gfx::AcceleratedWidget widget) override;
42 39
43 private: 40 private:
44 IDMap<CacaWindow> windows_; 41 IDMap<CacaWindow> windows_;
45 base::ThreadChecker thread_checker_; 42 base::ThreadChecker thread_checker_;
46 43
47 DISALLOW_COPY_AND_ASSIGN(CacaWindowManager); 44 DISALLOW_COPY_AND_ASSIGN(CacaWindowManager);
48 }; 45 };
49 46
50 } // namespace ui 47 } // namespace ui
51 48
52 #endif // UI_OZONE_PLATFORM_CACA_CACA_WINDOW_MANAGER_H_ 49 #endif // UI_OZONE_PLATFORM_CACA_CACA_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/ozone/common/egl_util.cc ('k') | ui/ozone/platform/caca/caca_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698