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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: fix x11 compile Created 4 years, 1 month 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/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index 6e49b1c31a04c4dccb9f436746bfbee63814d463..9ccccfa5209ab6566e91920951b35090594eda4e 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -45,7 +45,6 @@
#include "ui/views/widget/widget_aura_utils.h"
#include "ui/views/widget/widget_delegate.h"
#include "ui/views/widget/window_reorderer.h"
-#include "ui/views/window/native_frame_view.h"
#include "ui/wm/core/compound_event_filter.h"
#include "ui/wm/core/cursor_manager.h"
#include "ui/wm/core/focus_controller.h"
@@ -529,7 +528,7 @@ void DesktopNativeWidgetAura::InitNativeWidget(
void DesktopNativeWidgetAura::OnWidgetInitDone() {}
NonClientFrameView* DesktopNativeWidgetAura::CreateNonClientFrameView() {
- return ShouldUseNativeFrame() ? new NativeFrameView(GetWidget()) : NULL;
+ return desktop_window_tree_host_->CreateNonClientFrameView();
}
bool DesktopNativeWidgetAura::ShouldUseNativeFrame() const {

Powered by Google App Engine
This is Rietveld 408576698