Infobar material design refresh: layout
[chromium-blink-merge.git] / chrome / browser / ui / views / apps / shaped_app_window_targeter.h
blob0cd78a2b4d11748b2962a7f4d498c9c0a444f952
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/core/masked_window_targeter.h"
10 class ChromeNativeAppWindowViews;
12 class ShapedAppWindowTargeter : public wm::MaskedWindowTargeter {
13 public:
14 ShapedAppWindowTargeter(aura::Window* window,
15 ChromeNativeAppWindowViews* app_window);
16 ~ShapedAppWindowTargeter() override;
18 private:
19 // wm::MaskedWindowTargeter:
20 bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const override;
22 ChromeNativeAppWindowViews* app_window_;
24 DISALLOW_COPY_AND_ASSIGN(ShapedAppWindowTargeter);
27 #endif // CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_