| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; | 64 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; |
| 65 virtual void UpdateThrobber(bool running) OVERRIDE; | 65 virtual void UpdateThrobber(bool running) OVERRIDE; |
| 66 | 66 |
| 67 // Overridden from views::NonClientFrameView: | 67 // Overridden from views::NonClientFrameView: |
| 68 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; | 68 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; |
| 69 virtual gfx::Rect GetWindowBoundsForClientBounds( | 69 virtual gfx::Rect GetWindowBoundsForClientBounds( |
| 70 const gfx::Rect& client_bounds) const OVERRIDE; | 70 const gfx::Rect& client_bounds) const OVERRIDE; |
| 71 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 71 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
| 72 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) | 72 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) |
| 73 OVERRIDE; | 73 OVERRIDE; |
| 74 virtual void EnableClose(bool enable) OVERRIDE; |
| 74 virtual void ResetWindowControls() OVERRIDE; | 75 virtual void ResetWindowControls() OVERRIDE; |
| 75 virtual void UpdateWindowIcon() OVERRIDE; | 76 virtual void UpdateWindowIcon() OVERRIDE; |
| 76 | 77 |
| 77 // Overridden from views::View: | 78 // Overridden from views::View: |
| 78 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 79 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 79 virtual void OnThemeChanged() OVERRIDE; | 80 virtual void OnThemeChanged() OVERRIDE; |
| 80 virtual gfx::Size GetMinimumSize() OVERRIDE; | 81 virtual gfx::Size GetMinimumSize() OVERRIDE; |
| 81 virtual void Layout() OVERRIDE; | 82 virtual void Layout() OVERRIDE; |
| 82 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 83 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 83 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; | 84 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 // Used to animate the visibility change of settings button. | 203 // Used to animate the visibility change of settings button. |
| 203 scoped_ptr<ui::SlideAnimation> settings_button_animator_; | 204 scoped_ptr<ui::SlideAnimation> settings_button_animator_; |
| 204 gfx::Rect settings_button_full_bounds_; | 205 gfx::Rect settings_button_full_bounds_; |
| 205 gfx::Rect settings_button_zero_bounds_; | 206 gfx::Rect settings_button_zero_bounds_; |
| 206 bool is_settings_button_visible_; | 207 bool is_settings_button_visible_; |
| 207 | 208 |
| 208 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); | 209 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 212 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |