1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_FRAME_VIEW_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_FRAME_VIEW_CHROMEOS_H_ 7 #pragma once 8 9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" 10 11 namespace chromeos { 12 13 class BrowserFrameViewChromeos : public OpaqueBrowserFrameView { 14 public: 15 BrowserFrameViewChromeos(BrowserFrame* frame, BrowserView* browser_view); 16 virtual ~BrowserFrameViewChromeos(); 17 18 // View overrides. 19 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 20 virtual bool HitTest(const gfx::Point& l) const OVERRIDE; 21 virtual views::View* GetEventHandlerForPoint( 22 const gfx::Point& point) OVERRIDE; 23 24 protected: 25 // OpaqueBrowserFrameView overrides. 26 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; 27 virtual void ModifyMaximizedFramePainting(int* top_offset, 28 SkBitmap** left_corner, 29 SkBitmap** right_corner) OVERRIDE; 30 31 private: 32 DISALLOW_COPY_AND_ASSIGN(BrowserFrameViewChromeos); 33 }; 34 35 } // namespace chromeos 36 37 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_FRAME_VIEW_CHROMEOS_H_ 38