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

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

Issue 8827011: Panel strip refactor cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac/linux compile Created 9 years 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) 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_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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 const NativeWebKeyboardEvent& event) OVERRIDE; 118 const NativeWebKeyboardEvent& event) OVERRIDE;
119 virtual gfx::Size WindowSizeFromContentSize( 119 virtual gfx::Size WindowSizeFromContentSize(
120 const gfx::Size& content_size) const OVERRIDE; 120 const gfx::Size& content_size) const OVERRIDE;
121 virtual gfx::Size ContentSizeFromWindowSize( 121 virtual gfx::Size ContentSizeFromWindowSize(
122 const gfx::Size& window_size) const OVERRIDE; 122 const gfx::Size& window_size) const OVERRIDE;
123 virtual int TitleOnlyHeight() const OVERRIDE; 123 virtual int TitleOnlyHeight() const OVERRIDE;
124 virtual Browser* GetPanelBrowser() const OVERRIDE; 124 virtual Browser* GetPanelBrowser() const OVERRIDE;
125 virtual void DestroyPanelBrowser() OVERRIDE; 125 virtual void DestroyPanelBrowser() OVERRIDE;
126 virtual gfx::Size IconOnlySize() const OVERRIDE; 126 virtual gfx::Size IconOnlySize() const OVERRIDE;
127 virtual void EnsurePanelFullyVisible() OVERRIDE; 127 virtual void EnsurePanelFullyVisible() OVERRIDE;
128 virtual void SetPanelAppIconVisibility(bool visible) OVERRIDE;
128 129
129 // Overridden from AnimationDelegate: 130 // Overridden from AnimationDelegate:
130 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 131 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
131 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 132 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
132 133
133 bool EndDragging(bool cancelled); 134 bool EndDragging(bool cancelled);
134 135
135 void StopDrawingAttention(); 136 void StopDrawingAttention();
136 137
137 void SetBoundsInternal(const gfx::Rect& bounds, bool animate); 138 void SetBoundsInternal(const gfx::Rect& bounds, bool animate);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 base::TimeTicks attention_cleared_time_; 174 base::TimeTicks attention_cleared_time_;
174 175
175 // The last view that had focus in the panel. This is saved so that focus can 176 // The last view that had focus in the panel. This is saved so that focus can
176 // be restored properly when a drag ends. 177 // be restored properly when a drag ends.
177 views::View* old_focused_view_; 178 views::View* old_focused_view_;
178 179
179 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); 180 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView);
180 }; 181 };
181 182
182 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 183 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698