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

Unified Diff: ui/aura/root_window_host_win.cc

Issue 10789018: aura: Add X11 host window management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep ash switches alphabetized. Created 8 years, 5 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/aura/root_window_host_win.cc
diff --git a/ui/aura/root_window_host_win.cc b/ui/aura/root_window_host_win.cc
index d04b3520789b5444032990b83ed80752adfc0dfd..dbd69101ca47ae0a6b30ad4541d57f6b9f1927a8 100644
--- a/ui/aura/root_window_host_win.cc
+++ b/ui/aura/root_window_host_win.cc
@@ -151,6 +151,11 @@ gfx::AcceleratedWidget RootWindowHostWin::GetAcceleratedWidget() {
return hwnd();
}
+gfx::AcceleratedWidget RootWindowHostWin::
+ GetAcceleratedWidgetUsedForEvents() {
+ return hwnd();
+}
+
void RootWindowHostWin::Show() {
ShowWindow(hwnd(), SW_SHOWNORMAL);
}
@@ -299,6 +304,11 @@ void RootWindowHostWin::OnDeviceScaleFactorChanged(
NOTIMPLEMENTED();
}
+bool RootWindowHostWin::DispatchNativeEvent(
+ const base::NativeEvent& native_event) {
+ return false;
+}
+
void RootWindowHostWin::OnClose() {
// TODO: this obviously shouldn't be here.
MessageLoopForUI::current()->Quit();

Powered by Google App Engine
This is Rietveld 408576698