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

Unified Diff: ui/platform_window/platform_window_delegate.h

Issue 2431753002: Mus experiment in content shell on Android.
Patch Set: Addressed comments, fixed browser tests and deps. Created 4 years, 2 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
Index: ui/platform_window/platform_window_delegate.h
diff --git a/ui/platform_window/platform_window_delegate.h b/ui/platform_window/platform_window_delegate.h
index f7cdb1abf3ddbc992fff7255ab2ea33f851cb3be..1359590acef88b234e8aaaa6ebed8143c62fad08 100644
--- a/ui/platform_window/platform_window_delegate.h
+++ b/ui/platform_window/platform_window_delegate.h
@@ -5,6 +5,7 @@
#ifndef UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_
#define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_
+#include "gpu/ipc/common/surface_handle.h"
#include "ui/gfx/native_widget_types.h"
namespace gfx {
@@ -43,7 +44,7 @@ class PlatformWindowDelegate {
virtual void OnLostCapture() = 0;
- virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
Fady Samuel 2016/10/19 10:49:52 nit: OnSurfaceHandleAvailable?
Jay Civelli 2016/11/02 22:02:17 Ended up keeping the AcceleratedWidget.
+ virtual void OnAcceleratedWidgetAvailable(gpu::SurfaceHandle widget,
float device_pixel_ratio) = 0;
// Notifies the delegate that the widget cannot be used anymore until

Powered by Google App Engine
This is Rietveld 408576698