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

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: Synced 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
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const NativeWebKeyboardEvent& event) OVERRIDE; 104 const NativeWebKeyboardEvent& event) OVERRIDE;
105 virtual gfx::Size WindowSizeFromContentSize( 105 virtual gfx::Size WindowSizeFromContentSize(
106 const gfx::Size& content_size) const OVERRIDE; 106 const gfx::Size& content_size) const OVERRIDE;
107 virtual gfx::Size ContentSizeFromWindowSize( 107 virtual gfx::Size ContentSizeFromWindowSize(
108 const gfx::Size& window_size) const OVERRIDE; 108 const gfx::Size& window_size) const OVERRIDE;
109 virtual int TitleOnlyHeight() const OVERRIDE; 109 virtual int TitleOnlyHeight() const OVERRIDE;
110 virtual Browser* GetPanelBrowser() const OVERRIDE; 110 virtual Browser* GetPanelBrowser() const OVERRIDE;
111 virtual void DestroyPanelBrowser() OVERRIDE; 111 virtual void DestroyPanelBrowser() OVERRIDE;
112 virtual gfx::Size IconOnlySize() const OVERRIDE; 112 virtual gfx::Size IconOnlySize() const OVERRIDE;
113 virtual void EnsurePanelFullyVisible() OVERRIDE; 113 virtual void EnsurePanelFullyVisible() OVERRIDE;
114 virtual void SetPanelAppIconVisibility(bool visible) OVERRIDE;
114 115
115 // Overridden from AnimationDelegate: 116 // Overridden from AnimationDelegate:
116 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 117 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
117 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 118 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
118 119
119 bool EndDragging(bool cancelled); 120 bool EndDragging(bool cancelled);
120 121
121 void StopDrawingAttention(); 122 void StopDrawingAttention();
122 123
123 void SetBoundsInternal(const gfx::Rect& bounds, bool animate); 124 void SetBoundsInternal(const gfx::Rect& bounds, bool animate);
(...skipping 35 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
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698