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

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

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
7 7
8 #include "base/macros.h"
8 #include "ui/wm/core/masked_window_targeter.h" 9 #include "ui/wm/core/masked_window_targeter.h"
9 10
10 class ChromeNativeAppWindowViews; 11 class ChromeNativeAppWindowViews;
11 12
12 class ShapedAppWindowTargeter : public wm::MaskedWindowTargeter { 13 class ShapedAppWindowTargeter : public wm::MaskedWindowTargeter {
13 public: 14 public:
14 ShapedAppWindowTargeter(aura::Window* window, 15 ShapedAppWindowTargeter(aura::Window* window,
15 ChromeNativeAppWindowViews* app_window); 16 ChromeNativeAppWindowViews* app_window);
16 ~ShapedAppWindowTargeter() override; 17 ~ShapedAppWindowTargeter() override;
17 18
18 private: 19 private:
19 // wm::MaskedWindowTargeter: 20 // wm::MaskedWindowTargeter:
20 bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const override; 21 bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const override;
21 22
22 ChromeNativeAppWindowViews* app_window_; 23 ChromeNativeAppWindowViews* app_window_;
23 24
24 DISALLOW_COPY_AND_ASSIGN(ShapedAppWindowTargeter); 25 DISALLOW_COPY_AND_ASSIGN(ShapedAppWindowTargeter);
25 }; 26 };
26 27
27 #endif // CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_ 28 #endif // CHROME_BROWSER_UI_VIEWS_APPS_SHAPED_APP_WINDOW_TARGETER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698