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

Unified Diff: chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc

Issue 10082029: Ash: Fix hit testing for the bottom pixels of tabs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
index 8f0f85582bfee9ee815eacff8db3d0ec65f332b5..148e5cdb1656263c8ebcf1d128fb78c48cfd260c 100644
--- a/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
@@ -58,6 +58,10 @@ const int kContentShadowHeight = 1;
///////////////////////////////////////////////////////////////////////////////
// BrowserNonClientFrameViewAsh, public:
+// static
+const char BrowserNonClientFrameViewAsh::kViewClassName[] =
+ "BrowserNonClientFrameViewAsh";
+
BrowserNonClientFrameViewAsh::BrowserNonClientFrameViewAsh(
BrowserFrame* frame, BrowserView* browser_view)
: BrowserNonClientFrameView(frame, browser_view),
@@ -215,6 +219,10 @@ void BrowserNonClientFrameViewAsh::Layout() {
BrowserNonClientFrameView::Layout();
}
+std::string BrowserNonClientFrameViewAsh::GetClassName() const {
+ return kViewClassName;
+}
+
bool BrowserNonClientFrameViewAsh::HitTest(const gfx::Point& l) const {
// If the point is outside the bounds of the client area, claim it.
if (NonClientFrameView::HitTest(l))
« no previous file with comments | « chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.h ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698