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

Unified Diff: ash/common/frame/frame_border_hit_test.h

Issue 2215223003: Moves most frame related classes to ash/common/frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 4 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 | « ash/common/frame/default_header_painter_unittest.cc ('k') | ash/common/frame/frame_border_hit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/frame/frame_border_hit_test.h
diff --git a/ash/common/frame/frame_border_hit_test.h b/ash/common/frame/frame_border_hit_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..4c79cadabc7aede9b7e7dca37e17906af954ed85
--- /dev/null
+++ b/ash/common/frame/frame_border_hit_test.h
@@ -0,0 +1,30 @@
+// Copyright 2016 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 ASH_COMMON_FRAME_FRAME_BORDER_HIT_TEST_H_
+#define ASH_COMMON_FRAME_FRAME_BORDER_HIT_TEST_H_
+
+#include "ash/ash_export.h"
+
+namespace gfx {
+class Point;
+}
+
+namespace views {
+class NonClientFrameView;
+}
+
+namespace ash {
+
+class FrameCaptionButtonContainerView;
+
+// Returns the HitTestCompat for the specified point.
+ASH_EXPORT int FrameBorderNonClientHitTest(
+ views::NonClientFrameView* view,
+ FrameCaptionButtonContainerView* caption_button_container,
+ const gfx::Point& point_in_widget);
+
+} // namespace ash
+
+#endif // ASH_COMMON_FRAME_FRAME_BORDER_HIT_TEST_H_
« no previous file with comments | « ash/common/frame/default_header_painter_unittest.cc ('k') | ash/common/frame/frame_border_hit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698