// Copyright (c) 2012 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.

#include "chrome/browser/ui/tabs/dock_info.h"

#include "chrome/browser/ui/views/tabs/tab.h"
#include "build/build_config.h"

#if !defined(OS_WIN)
// static
int DockInfo::GetHotSpotDeltaY() {
  return Tab::GetMinimumUnselectedSize().height() - 1;
}
#endif

// Copyright (c) 2012 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.

#include "chrome/browser/ui/tabs/dock_info.h"

#include "chrome/browser/ui/views/tabs/tab.h"
#include "build/build_config.h"

#if defined(USE_AURA) || defined(USE_ASH) || defined(OS_CHROMEOS)
// static
int DockInfo::GetHotSpotDeltaY() {
  return Tab::GetMinimumUnselectedSize().height() - 1;
}
#endif

Fix win_aura build enabling GetHotSpotDeltaY() in aura too.
views/tabs: Fix win_aura build enabling GetHotSpotDeltaY() in aura too.

BUG=125846
TBR=ben@chromium.org
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10782009

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@146762 0039d316-1c4b-4281-b951-d872f2087c98
