summaryrefslogtreecommitdiffstats
path: root/views/controls/single_split_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/single_split_view.h')
-rw-r--r--views/controls/single_split_view.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/views/controls/single_split_view.h b/views/controls/single_split_view.h
index af982e4..3ed92ac 100644
--- a/views/controls/single_split_view.h
+++ b/views/controls/single_split_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -31,8 +31,7 @@ class SingleSplitView : public views::View {
// Overriden to return a resize cursor when over the divider.
virtual gfx::NativeCursor GetCursorForPoint(Event::EventType event_type,
- int x,
- int y);
+ const gfx::Point& p);
void set_divider_offset(int divider_offset) {
divider_offset_ = divider_offset;
@@ -53,7 +52,7 @@ class SingleSplitView : public views::View {
private:
// Returns true if |x| or |y| is over the divider.
- bool IsPointInDivider(int x, int y);
+ bool IsPointInDivider(const gfx::Point& p);
// Returns width in case of horizontal split and height otherwise.
int GetPrimaryAxisSize() {