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

Unified Diff: ui/wm/public/masked_window_targeter.h

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/wm/public/easy_resize_window_targeter.h ('k') | ui/wm/test/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/public/masked_window_targeter.h
diff --git a/ui/wm/public/masked_window_targeter.h b/ui/wm/public/masked_window_targeter.h
deleted file mode 100644
index ad3140d3a763ebbbfb3548a792e6b7bf5396a69f..0000000000000000000000000000000000000000
--- a/ui/wm/public/masked_window_targeter.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_WM_PUBLIC_MASKED_WINDOW_TARGETER_H_
-#define UI_WM_PUBLIC_MASKED_WINDOW_TARGETER_H_
-
-#include "ui/aura/window_targeter.h"
-
-namespace gfx {
-class Path;
-}
-
-namespace wm {
-
-class MaskedWindowTargeter : public aura::WindowTargeter {
- public:
- explicit MaskedWindowTargeter(aura::Window* masked_window);
- virtual ~MaskedWindowTargeter();
-
- protected:
- // Sets the hit-test mask for |window| in |mask| (in |window|'s local
- // coordinate system). Returns whether a valid mask has been set in |mask|.
- virtual bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const = 0;
-
- // aura::WindowTargeter:
- virtual bool EventLocationInsideBounds(
- aura::Window* window,
- const ui::LocatedEvent& event) const OVERRIDE;
-
- private:
- aura::Window* masked_window_;
-
- DISALLOW_COPY_AND_ASSIGN(MaskedWindowTargeter);
-};
-
-} // namespace wm
-
-#endif // UI_WM_PUBLIC_MASKED_WINDOW_TARGETER_H_
« no previous file with comments | « ui/wm/public/easy_resize_window_targeter.h ('k') | ui/wm/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698