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

Side by Side Diff: chrome/browser/ui/views/apps/shaped_app_window_targeter.h

Issue 171003004: Extract Chrome-specific code from NativeAppWindowViews (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win, clang (split_native_app_window) Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
7
8 #include "ui/wm/public/masked_window_targeter.h"
9
10 class NativeAppWindowViews;
11
12 class ShapedAppWindowTargeter : public wm::MaskedWindowTargeter {
13 public:
14 ShapedAppWindowTargeter(aura::Window* window,
15 NativeAppWindowViews* app_window);
16 virtual ~ShapedAppWindowTargeter();
17
18 private:
19 // wm::MaskedWindowTargeter:
20 virtual bool GetHitTestMask(aura::Window* window,
21 gfx::Path* mask) const OVERRIDE;
22
23 NativeAppWindowViews* app_window_;
24
25 DISALLOW_COPY_AND_ASSIGN(ShapedAppWindowTargeter);
26 };
27
28 #endif // CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698