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 25 matching lines...) Expand all Loading... |
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 TabStripInsets GetTabStripInsets(bool restored) const OVERRIDE; | 45 virtual TabStripInsets GetTabStripInsets(bool restored) const OVERRIDE; |
| 46 virtual int GetThemeBackgroundXInset() const OVERRIDE; |
46 virtual void UpdateThrobber(bool running) OVERRIDE; | 47 virtual void UpdateThrobber(bool running) OVERRIDE; |
47 | 48 |
48 // View: | 49 // View: |
49 virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE; | 50 virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE; |
50 | 51 |
51 // views::MouseWatcherListener. | 52 // views::MouseWatcherListener. |
52 virtual void MouseMovedOutOfHost() OVERRIDE; | 53 virtual void MouseMovedOutOfHost() OVERRIDE; |
53 | 54 |
54 // views::WidgetObserver. | 55 // views::WidgetObserver. |
55 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; | 56 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; |
(...skipping 23 matching lines...) Expand all Loading... |
79 views::Widget* control_widget_; | 80 views::Widget* control_widget_; |
80 // Tracks the mouse and causes the controls to slide back up when it exits. | 81 // Tracks the mouse and causes the controls to slide back up when it exits. |
81 views::MouseWatcher mouse_watcher_; | 82 views::MouseWatcher mouse_watcher_; |
82 // Should controls be animated. | 83 // Should controls be animated. |
83 bool animate_controls_; | 84 bool animate_controls_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura); | 86 DISALLOW_COPY_AND_ASSIGN(AppNonClientFrameViewAura); |
86 }; | 87 }; |
87 | 88 |
88 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ | 89 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_NON_CLIENT_FRAME_VIEW_AURA_H_ |
OLD | NEW |