OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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_UI_VIEWS_FRAME_COMPACT_BROWSER_FRAME_VIEW_H_ | |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_COMPACT_BROWSER_FRAME_VIEW_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" | |
10 | |
11 class CompactBrowserFrameView : public OpaqueBrowserFrameView { | |
12 public: | |
13 CompactBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); | |
14 virtual ~CompactBrowserFrameView(); | |
15 | |
16 // View overrides. | |
17 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | |
18 virtual bool HitTest(const gfx::Point& l) const OVERRIDE; | |
19 virtual views::View* GetEventHandlerForPoint( | |
20 const gfx::Point& point) OVERRIDE; | |
21 | |
22 protected: | |
23 // OpaqueBrowserFrameView overrides. | |
24 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; | |
25 virtual void ModifyMaximizedFramePainting(int* top_offset, | |
26 SkBitmap** theme_frame, | |
27 SkBitmap** left_corner, | |
28 SkBitmap** right_corner) OVERRIDE; | |
29 | |
30 private: | |
31 DISALLOW_COPY_AND_ASSIGN(CompactBrowserFrameView); | |
32 }; | |
33 | |
34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_COMPACT_BROWSER_FRAME_VIEW_H_ | |
OLD | NEW |