NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / ui / views / apps / shaped_app_window_targeter.h
blob144a986343b0520e9a030fd1993ab4d9b1def6f8
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
8 #include "ui/wm/public/masked_window_targeter.h"
10 class NativeAppWindowViews;
12 class ShapedAppWindowTargeter : public wm::MaskedWindowTargeter {
13 public:
14 ShapedAppWindowTargeter(aura::Window* window,
15 NativeAppWindowViews* app_window);
16 virtual ~ShapedAppWindowTargeter();
18 private:
19 // wm::MaskedWindowTargeter:
20 virtual bool GetHitTestMask(aura::Window* window,
21 gfx::Path* mask) const OVERRIDE;
23 NativeAppWindowViews* app_window_;
25 DISALLOW_COPY_AND_ASSIGN(ShapedAppWindowTargeter);
28 #endif // CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_