| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; | 59 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; |
| 60 virtual void UpdateThrobber(bool running) OVERRIDE; | 60 virtual void UpdateThrobber(bool running) OVERRIDE; |
| 61 | 61 |
| 62 // Overridden from views::NonClientFrameView: | 62 // Overridden from views::NonClientFrameView: |
| 63 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 63 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
| 64 virtual gfx::Rect GetWindowBoundsForClientBounds( | 64 virtual gfx::Rect GetWindowBoundsForClientBounds( |
| 65 const gfx::Rect& client_bounds) const OVERRIDE; | 65 const gfx::Rect& client_bounds) const OVERRIDE; |
| 66 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 66 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
| 67 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) | 67 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) |
| 68 OVERRIDE; | 68 OVERRIDE; |
| 69 virtual void EnableClose(bool enable) OVERRIDE; | |
| 70 virtual void ResetWindowControls() OVERRIDE; | 69 virtual void ResetWindowControls() OVERRIDE; |
| 71 virtual void UpdateWindowIcon() OVERRIDE; | 70 virtual void UpdateWindowIcon() OVERRIDE; |
| 72 | 71 |
| 73 // Overridden from views::View: | 72 // Overridden from views::View: |
| 74 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 73 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 75 virtual void OnThemeChanged() OVERRIDE; | 74 virtual void OnThemeChanged() OVERRIDE; |
| 76 virtual gfx::Size GetMinimumSize() OVERRIDE; | 75 virtual gfx::Size GetMinimumSize() OVERRIDE; |
| 77 virtual void Layout() OVERRIDE; | 76 virtual void Layout() OVERRIDE; |
| 78 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 77 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 79 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; | 78 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // Used to animate the visibility change of settings button. | 192 // Used to animate the visibility change of settings button. |
| 194 scoped_ptr<ui::SlideAnimation> settings_button_animator_; | 193 scoped_ptr<ui::SlideAnimation> settings_button_animator_; |
| 195 gfx::Rect settings_button_full_bounds_; | 194 gfx::Rect settings_button_full_bounds_; |
| 196 gfx::Rect settings_button_zero_bounds_; | 195 gfx::Rect settings_button_zero_bounds_; |
| 197 bool is_settings_button_visible_; | 196 bool is_settings_button_visible_; |
| 198 | 197 |
| 199 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); | 198 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); |
| 200 }; | 199 }; |
| 201 | 200 |
| 202 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 201 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |