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

Unified Diff: ui/platform_window/stub/stub_window.cc

Issue 1999083002: Finish eliminating PlatformWindowMus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/platform_window/stub/stub_window.h ('k') | ui/views/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/stub/stub_window.cc
diff --git a/ui/platform_window/stub/stub_window.cc b/ui/platform_window/stub/stub_window.cc
index a46f89d656dfe7a41f49fe855782c92ee0ea5b8f..33a06064b644367bec3b8b023d06bb39f3dbd1d8 100644
--- a/ui/platform_window/stub/stub_window.cc
+++ b/ui/platform_window/stub/stub_window.cc
@@ -4,12 +4,15 @@
#include "ui/platform_window/stub/stub_window.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/platform_window/platform_window_delegate.h"
namespace ui {
-StubWindow::StubWindow(PlatformWindowDelegate* delegate) : delegate_(delegate) {
- delegate_->OnAcceleratedWidgetAvailable(gfx::kNullAcceleratedWidget, 1.f);
+StubWindow::StubWindow(
+ PlatformWindowDelegate* delegate, gfx::AcceleratedWidget accelerated_widget)
+ : delegate_(delegate) {
+ delegate_->OnAcceleratedWidgetAvailable(accelerated_widget, 1.f);
}
StubWindow::~StubWindow() {
« no previous file with comments | « ui/platform_window/stub/stub_window.h ('k') | ui/views/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698