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

Side by Side Diff: ui/ozone/platform/drm/gpu/drm_device.h

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase Created 5 years, 7 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
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_DRM_GPU_DRM_DEVICE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 virtual bool DestroyDumbBuffer(uint32_t handle); 151 virtual bool DestroyDumbBuffer(uint32_t handle);
152 152
153 virtual bool MapDumbBuffer(uint32_t handle, size_t size, void** pixels); 153 virtual bool MapDumbBuffer(uint32_t handle, size_t size, void** pixels);
154 154
155 virtual bool UnmapDumbBuffer(void* pixels, size_t size); 155 virtual bool UnmapDumbBuffer(void* pixels, size_t size);
156 156
157 virtual bool CloseBufferHandle(uint32_t handle); 157 virtual bool CloseBufferHandle(uint32_t handle);
158 158
159 virtual bool CommitProperties(drmModePropertySet* properties, 159 virtual bool CommitProperties(drmModePropertySet* properties,
160 uint32_t flags, 160 uint32_t flags,
161 bool is_sync,
161 const PageFlipCallback& callback); 162 const PageFlipCallback& callback);
162 163
164 virtual bool SetCapability(uint64_t capability, uint64_t value);
165
163 // Drm master related 166 // Drm master related
164 virtual bool SetMaster(); 167 virtual bool SetMaster();
165 virtual bool DropMaster(); 168 virtual bool DropMaster();
166 169
167 int get_fd() const { return file_.GetPlatformFile(); } 170 int get_fd() const { return file_.GetPlatformFile(); }
168 171
169 base::FilePath device_path() const { return device_path_; } 172 base::FilePath device_path() const { return device_path_; }
170 173
171 HardwareDisplayPlaneManager* plane_manager() { return plane_manager_.get(); } 174 HardwareDisplayPlaneManager* plane_manager() { return plane_manager_.get(); }
172 175
(...skipping 18 matching lines...) Expand all
191 194
192 // Watcher for |fd_| listening for page flip events. 195 // Watcher for |fd_| listening for page flip events.
193 scoped_refptr<IOWatcher> watcher_; 196 scoped_refptr<IOWatcher> watcher_;
194 197
195 DISALLOW_COPY_AND_ASSIGN(DrmDevice); 198 DISALLOW_COPY_AND_ASSIGN(DrmDevice);
196 }; 199 };
197 200
198 } // namespace ui 201 } // namespace ui
199 202
200 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_ 203 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
OLDNEW
« no previous file with comments | « ui/file_manager/integration_tests/file_manager/suggest_app_dialog.js ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698