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

Unified Diff: ash/root_window_controller.cc

Issue 17175019: Add double click and tap handler to minimize attached panels. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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 | « ash/ash.gyp ('k') | ash/wm/panels/panel_window_event_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index af6e946c19ac68e1b358e9c6784e767b3267fa7f..04f41cd5ac12e592da454d0438884f25b1f3c44a 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -27,6 +27,7 @@
#include "ash/wm/boot_splash_screen.h"
#include "ash/wm/dock/docked_window_layout_manager.h"
#include "ash/wm/panels/panel_layout_manager.h"
+#include "ash/wm/panels/panel_window_event_handler.h"
#include "ash/wm/property_util.h"
#include "ash/wm/root_window_layout_manager.h"
#include "ash/wm/screen_dimmer.h"
@@ -289,7 +290,7 @@ void RootWindowController::InitForPrimaryDisplay() {
panel_layout_manager_ =
new internal::PanelLayoutManager(panel_container);
panel_container_handler_.reset(
- new ToplevelWindowEventHandler(panel_container));
+ new PanelWindowEventHandler(panel_container));
panel_container->SetLayoutManager(panel_layout_manager_);
// TODO(stevenjb/oshima): Remove this call to CreateLauncher() and call
« no previous file with comments | « ash/ash.gyp ('k') | ash/wm/panels/panel_window_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698