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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/core/input_method_event_filter_unittest.cc ('k') | ui/wm/core/masked_window_targeter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/masked_window_targeter.h
diff --git a/ui/wm/core/masked_window_targeter.h b/ui/wm/core/masked_window_targeter.h
deleted file mode 100644
index e289329f32fc1a2566e7cbe5ef5e0974b5730ad0..0000000000000000000000000000000000000000
--- a/ui/wm/core/masked_window_targeter.h
+++ /dev/null
@@ -1,40 +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_CORE_MASKED_WINDOW_TARGETER_H_
-#define UI_WM_CORE_MASKED_WINDOW_TARGETER_H_
-
-#include "ui/aura/window_targeter.h"
-#include "ui/wm/wm_export.h"
-
-namespace gfx {
-class Path;
-}
-
-namespace wm {
-
-class WM_EXPORT 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;
-
- // ui::EventTargeter:
- virtual bool EventLocationInsideBounds(
- ui::EventTarget* target,
- const ui::LocatedEvent& event) const override;
-
- private:
- aura::Window* masked_window_;
-
- DISALLOW_COPY_AND_ASSIGN(MaskedWindowTargeter);
-};
-
-} // namespace wm
-
-#endif // UI_WM_CORE_MASKED_WINDOW_TARGETER_H_
« no previous file with comments | « ui/wm/core/input_method_event_filter_unittest.cc ('k') | ui/wm/core/masked_window_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698