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

Side by Side Diff: ui/ozone/platform/dri/dri_window.h

Issue 766583002: ozone: dri: Support moving between displays in MoveCursorTo(location) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/platform/dri/dri_cursor.cc ('k') | ui/ozone/platform/dri/dri_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_DRI_DRI_WINDOW_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_
6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ 6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/display/types/display_snapshot.h" 9 #include "ui/display/types/display_snapshot.h"
10 #include "ui/events/platform/platform_event_dispatcher.h" 10 #include "ui/events/platform/platform_event_dispatcher.h"
(...skipping 17 matching lines...) Expand all
28 DriWindow(PlatformWindowDelegate* delegate, 28 DriWindow(PlatformWindowDelegate* delegate,
29 const gfx::Rect& bounds, 29 const gfx::Rect& bounds,
30 DriGpuPlatformSupportHost* sender, 30 DriGpuPlatformSupportHost* sender,
31 EventFactoryEvdev* event_factory, 31 EventFactoryEvdev* event_factory,
32 DriWindowManager* window_manager, 32 DriWindowManager* window_manager,
33 DisplayManager* display_manager); 33 DisplayManager* display_manager);
34 ~DriWindow() override; 34 ~DriWindow() override;
35 35
36 void Initialize(); 36 void Initialize();
37 37
38 gfx::AcceleratedWidget GetAcceleratedWidget();
39
38 // PlatformWindow: 40 // PlatformWindow:
39 void Show() override; 41 void Show() override;
40 void Hide() override; 42 void Hide() override;
41 void Close() override; 43 void Close() override;
42 void SetBounds(const gfx::Rect& bounds) override; 44 void SetBounds(const gfx::Rect& bounds) override;
43 gfx::Rect GetBounds() override; 45 gfx::Rect GetBounds() override;
44 void SetCapture() override; 46 void SetCapture() override;
45 void ReleaseCapture() override; 47 void ReleaseCapture() override;
46 void ToggleFullscreen() override; 48 void ToggleFullscreen() override;
47 void Maximize() override; 49 void Maximize() override;
(...skipping 19 matching lines...) Expand all
67 69
68 gfx::Rect bounds_; 70 gfx::Rect bounds_;
69 gfx::AcceleratedWidget widget_; 71 gfx::AcceleratedWidget widget_;
70 72
71 DISALLOW_COPY_AND_ASSIGN(DriWindow); 73 DISALLOW_COPY_AND_ASSIGN(DriWindow);
72 }; 74 };
73 75
74 } // namespace ui 76 } // namespace ui
75 77
76 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ 78 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/dri_cursor.cc ('k') | ui/ozone/platform/dri/dri_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698