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

Side by Side Diff: ash/frame/frame_border_hit_test_controller.cc

Issue 2222653002: Moves CustomFrameViewAsh to common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 4 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
« no previous file with comments | « ash/frame/frame_border_hit_test_controller.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/frame/frame_border_hit_test_controller.h"
6
7 #include <memory>
8
9 #include "ash/wm/resize_handle_window_targeter.h"
10 #include "ui/aura/window.h"
11 #include "ui/views/widget/widget.h"
12
13 namespace ash {
14
15 FrameBorderHitTestController::FrameBorderHitTestController(views::Widget* frame)
16 : frame_window_(frame->GetNativeWindow()) {
17 frame_window_->SetEventTargeter(std::unique_ptr<ui::EventTargeter>(
18 new ResizeHandleWindowTargeter(frame_window_, NULL)));
19 }
20
21 FrameBorderHitTestController::~FrameBorderHitTestController() {}
22
23 } // namespace ash
OLDNEW
« no previous file with comments | « ash/frame/frame_border_hit_test_controller.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698