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

Unified Diff: ui/ozone/platform/dri/dri_window_delegate_manager.h

Issue 556073003: [Ozone-DRI] Do proper bounds checks when moving the cursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@restore-cursor
Patch Set: . Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/dri/dri_window.cc ('k') | ui/ozone/platform/dri/dri_window_delegate_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/ozone/platform/dri/dri_window.cc ('k') | ui/ozone/platform/dri/dri_window_delegate_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698