| Index: ui/ozone/platform/dri/dri_window_delegate_manager.h
|
| diff --git a/ui/ozone/platform/dri/dri_window_manager.h b/ui/ozone/platform/dri/dri_window_delegate_manager.h
|
| similarity index 77%
|
| copy from ui/ozone/platform/dri/dri_window_manager.h
|
| copy to ui/ozone/platform/dri/dri_window_delegate_manager.h
|
| index 7589530fab6fb76288311318e7cf318db5999fc5..5f2a572c49e4b738ea4d50154dead4a53fdc564c 100644
|
| --- a/ui/ozone/platform/dri/dri_window_manager.h
|
| +++ b/ui/ozone/platform/dri/dri_window_delegate_manager.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_MANAGER_H_
|
| -#define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_MANAGER_H_
|
| +#ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_MANAGER_H_
|
| +#define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_MANAGER_H_
|
|
|
| #include "base/containers/scoped_ptr_hash_map.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| @@ -12,12 +12,10 @@ namespace ui {
|
|
|
| class DriWindowDelegate;
|
|
|
| -class DriWindowManager {
|
| +class DriWindowDelegateManager {
|
| public:
|
| - DriWindowManager();
|
| - ~DriWindowManager();
|
| -
|
| - gfx::AcceleratedWidget NextAcceleratedWidget();
|
| + DriWindowDelegateManager();
|
| + ~DriWindowDelegateManager();
|
|
|
| // Adds a delegate for |widget|. Note: |widget| should not be associated with
|
| // a delegate when calling this function.
|
| @@ -41,11 +39,10 @@ class DriWindowManager {
|
| WidgetToDelegateMap;
|
|
|
| WidgetToDelegateMap delegate_map_;
|
| - gfx::AcceleratedWidget last_allocated_widget_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(DriWindowManager);
|
| + DISALLOW_COPY_AND_ASSIGN(DriWindowDelegateManager);
|
| };
|
|
|
| } // namespace ui
|
|
|
| -#endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_MANAGER_H_
|
| +#endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_MANAGER_H_
|
|
|