OLD | NEW |
| (Empty) |
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_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ | |
6 #define CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" | |
10 | |
11 class BrowserFrame; | |
12 class BrowserView; | |
13 | |
14 class TouchBrowserFrameView | |
15 : public OpaqueBrowserFrameView { | |
16 public: | |
17 // Internal class name. | |
18 static const char kViewClassName[]; | |
19 | |
20 // Constructs a non-client view for an BrowserFrame. | |
21 TouchBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); | |
22 virtual ~TouchBrowserFrameView(); | |
23 | |
24 private: | |
25 // Overridden from views::View | |
26 virtual std::string GetClassName() const OVERRIDE; | |
27 virtual bool HitTest(const gfx::Point& point) const OVERRIDE; | |
28 | |
29 bool initialized_screen_rotation_; | |
30 | |
31 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView); | |
32 }; | |
33 | |
34 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ | |
OLD | NEW |