OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ |
7 | 7 |
8 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 8 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
9 #include "ui/base/animation/animation_delegate.h" | 9 #include "ui/base/animation/animation_delegate.h" |
10 #include "ui/views/controls/button/button.h" | 10 #include "ui/views/controls/button/button.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 35 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
36 virtual void GetWindowMask( | 36 virtual void GetWindowMask( |
37 const gfx::Size& size, | 37 const gfx::Size& size, |
38 gfx::Path* window_mask) OVERRIDE; | 38 gfx::Path* window_mask) OVERRIDE; |
39 virtual void ResetWindowControls() OVERRIDE; | 39 virtual void ResetWindowControls() OVERRIDE; |
40 virtual void UpdateWindowIcon() OVERRIDE; | 40 virtual void UpdateWindowIcon() OVERRIDE; |
41 | 41 |
42 // BrowserNonClientFrameView: | 42 // BrowserNonClientFrameView: |
43 virtual gfx::Rect GetBoundsForTabStrip( | 43 virtual gfx::Rect GetBoundsForTabStrip( |
44 views::View* tabstrip) const OVERRIDE; | 44 views::View* tabstrip) const OVERRIDE; |
45 virtual int GetHorizontalTabStripVerticalOffset( | 45 virtual TabStripInsets GetTabStripInsets(bool restored) const OVERRIDE; |
46 bool restored) const OVERRIDE; | |
47 virtual void UpdateThrobber(bool running) OVERRIDE; | 46 virtual void UpdateThrobber(bool running) OVERRIDE; |
48 | 47 |
49 // View: | 48 // View: |
50 virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE; | 49 virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE; |
51 | 50 |
52 // views::MouseWatcherListener. | 51 // views::MouseWatcherListener. |
53 virtual void MouseMovedOutOfHost() OVERRIDE; | 52 virtual void MouseMovedOutOfHost() OVERRIDE; |
54 | 53 |
55 // views::Widget::Observer. | 54 // views::Widget::Observer. |
56 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; | 55 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; |
(...skipping 23 matching lines...) Expand all Loading... |
80 views::Widget* control_widget_; | 79 views::Widget* control_widget_; |
81 // Tracks the mouse and causes the controls to slide back up when it exits. | 80 // Tracks the mouse and causes the controls to slide back up when it exits. |
82 views::MouseWatcher mouse_watcher_; | 81 views::MouseWatcher mouse_watcher_; |
83 // Should controls be animated. | 82 // Should controls be animated. |
84 bool animate_controls_; | 83 bool animate_controls_; |
85 | 84 |
86 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura); | 85 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura); |
87 }; | 86 }; |
88 | 87 |
89 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ | 88 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ |
OLD | NEW |