| 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_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
| 7 | 7 |
| 8 #include "ash/shell_observer.h" | 8 #include "ash/shell_observer.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 public: | 34 public: |
| 35 static const char kViewClassName[]; | 35 static const char kViewClassName[]; |
| 36 | 36 |
| 37 BrowserNonClientFrameViewAsh(BrowserFrame* frame, BrowserView* browser_view); | 37 BrowserNonClientFrameViewAsh(BrowserFrame* frame, BrowserView* browser_view); |
| 38 ~BrowserNonClientFrameViewAsh() override; | 38 ~BrowserNonClientFrameViewAsh() override; |
| 39 | 39 |
| 40 void Init(); | 40 void Init(); |
| 41 | 41 |
| 42 // BrowserNonClientFrameView: | 42 // BrowserNonClientFrameView: |
| 43 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override; | 43 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override; |
| 44 int GetTopInset() const override; | 44 int GetTopInset(bool restored) const override; |
| 45 int GetThemeBackgroundXInset() const override; | 45 int GetThemeBackgroundXInset() const override; |
| 46 void UpdateThrobber(bool running) override; | 46 void UpdateThrobber(bool running) override; |
| 47 void UpdateToolbar() override; | 47 void UpdateToolbar() override; |
| 48 views::View* GetLocationIconView() const override; | 48 views::View* GetLocationIconView() const override; |
| 49 | 49 |
| 50 // views::NonClientFrameView: | 50 // views::NonClientFrameView: |
| 51 gfx::Rect GetBoundsForClientView() const override; | 51 gfx::Rect GetBoundsForClientView() const override; |
| 52 gfx::Rect GetWindowBoundsForClientBounds( | 52 gfx::Rect GetWindowBoundsForClientBounds( |
| 53 const gfx::Rect& client_bounds) const override; | 53 const gfx::Rect& client_bounds) const override; |
| 54 int NonClientHitTest(const gfx::Point& point) override; | 54 int NonClientHitTest(const gfx::Point& point) override; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 scoped_ptr<ash::HeaderPainter> header_painter_; | 152 scoped_ptr<ash::HeaderPainter> header_painter_; |
| 153 | 153 |
| 154 // Updates the hittest bounds overrides based on the window show type. | 154 // Updates the hittest bounds overrides based on the window show type. |
| 155 scoped_ptr<ash::FrameBorderHitTestController> | 155 scoped_ptr<ash::FrameBorderHitTestController> |
| 156 frame_border_hit_test_controller_; | 156 frame_border_hit_test_controller_; |
| 157 | 157 |
| 158 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); | 158 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ | 161 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ |
| OLD | NEW |