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

Side by Side Diff: athena/wm/window_overview_mode.cc

Issue 394833004: Split View Mode: Support for the 2-finger bezel scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a rebase issue. Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "athena/wm/window_overview_mode.h" 5 #include "athena/wm/window_overview_mode.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 aura::Window* container_; 296 aura::Window* container_;
297 WindowOverviewModeDelegate* delegate_; 297 WindowOverviewModeDelegate* delegate_;
298 scoped_ptr<aura::ScopedWindowTargeter> scoped_targeter_; 298 scoped_ptr<aura::ScopedWindowTargeter> scoped_targeter_;
299 299
300 DISALLOW_COPY_AND_ASSIGN(WindowOverviewModeImpl); 300 DISALLOW_COPY_AND_ASSIGN(WindowOverviewModeImpl);
301 }; 301 };
302 302
303 } // namespace 303 } // namespace
304 304
305 // static
305 scoped_ptr<WindowOverviewMode> WindowOverviewMode::Create( 306 scoped_ptr<WindowOverviewMode> WindowOverviewMode::Create(
306 aura::Window* window, 307 aura::Window* container,
307 WindowOverviewModeDelegate* delegate) { 308 WindowOverviewModeDelegate* delegate) {
308 return scoped_ptr<WindowOverviewMode>( 309 return scoped_ptr<WindowOverviewMode>(
309 new WindowOverviewModeImpl(window, delegate)); 310 new WindowOverviewModeImpl(container, delegate));
310 } 311 }
311 312
312 } // namespace athena 313 } // namespace athena
OLDNEW
« athena/wm/bezel_controller.cc ('K') | « athena/wm/window_manager_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698