Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: chrome/browser/ui/panels/panel_browser_view.h

Issue 9129013: Panel Overflow on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cr feedback Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_PANELS_PANEL_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const NativeWebKeyboardEvent& event) OVERRIDE; 105 const NativeWebKeyboardEvent& event) OVERRIDE;
106 virtual gfx::Size WindowSizeFromContentSize( 106 virtual gfx::Size WindowSizeFromContentSize(
107 const gfx::Size& content_size) const OVERRIDE; 107 const gfx::Size& content_size) const OVERRIDE;
108 virtual gfx::Size ContentSizeFromWindowSize( 108 virtual gfx::Size ContentSizeFromWindowSize(
109 const gfx::Size& window_size) const OVERRIDE; 109 const gfx::Size& window_size) const OVERRIDE;
110 virtual int TitleOnlyHeight() const OVERRIDE; 110 virtual int TitleOnlyHeight() const OVERRIDE;
111 virtual Browser* GetPanelBrowser() const OVERRIDE; 111 virtual Browser* GetPanelBrowser() const OVERRIDE;
112 virtual void DestroyPanelBrowser() OVERRIDE; 112 virtual void DestroyPanelBrowser() OVERRIDE;
113 virtual gfx::Size IconOnlySize() const OVERRIDE; 113 virtual gfx::Size IconOnlySize() const OVERRIDE;
114 virtual void EnsurePanelFullyVisible() OVERRIDE; 114 virtual void EnsurePanelFullyVisible() OVERRIDE;
115 virtual void ApplyVisualStyleForStrip(PanelStripType newPanelStrip) OVERRIDE;
115 virtual void SetPanelAppIconVisibility(bool visible) OVERRIDE; 116 virtual void SetPanelAppIconVisibility(bool visible) OVERRIDE;
116 117
117 // Overridden from AnimationDelegate: 118 // Overridden from AnimationDelegate:
118 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 119 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
119 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 120 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
120 121
121 bool EndDragging(bool cancelled); 122 bool EndDragging(bool cancelled);
122 123
123 void SetBoundsInternal(const gfx::Rect& bounds, bool animate); 124 void SetBoundsInternal(const gfx::Rect& bounds, bool animate);
124 125
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 base::TimeTicks attention_cleared_time_; 160 base::TimeTicks attention_cleared_time_;
160 161
161 // The last view that had focus in the panel. This is saved so that focus can 162 // The last view that had focus in the panel. This is saved so that focus can
162 // be restored properly when a drag ends. 163 // be restored properly when a drag ends.
163 views::View* old_focused_view_; 164 views::View* old_focused_view_;
164 165
165 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); 166 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView);
166 }; 167 };
167 168
168 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 169 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698