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

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

Issue 8423060: Classification of TODOs in Panel code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // will not be affected. 214 // will not be affected.
215 bool auto_sizing_enabled_; 215 bool auto_sizing_enabled_;
216 216
217 bool mouse_watching_disabled_; // For tests to simulate mouse movements. 217 bool mouse_watching_disabled_; // For tests to simulate mouse movements.
218 218
219 static const int kPanelsHorizontalSpacing = 4; 219 static const int kPanelsHorizontalSpacing = 4;
220 220
221 // Minimum width and height of a panel. 221 // Minimum width and height of a panel.
222 // Note: The minimum size of a widget (see widget.cc) is fixed to 100x100. 222 // Note: The minimum size of a widget (see widget.cc) is fixed to 100x100.
223 // TODO(jianli): Need to fix this to support smaller panel. 223 // TODO(jianli): Need to fix this to support smaller panel.
224 // http://crbug.com/102708
224 static const int kPanelMinWidth = 100; 225 static const int kPanelMinWidth = 100;
225 static const int kPanelMinHeight = 100; 226 static const int kPanelMinHeight = 100;
226 227
227 DISALLOW_COPY_AND_ASSIGN(PanelManager); 228 DISALLOW_COPY_AND_ASSIGN(PanelManager);
228 }; 229 };
229 230
230 // Required for CancellableTask to be used with non-refcounted objects. 231 // Required for CancellableTask to be used with non-refcounted objects.
231 // Defines empty AddRef/Release. 232 // Defines empty AddRef/Release.
232 DISABLE_RUNNABLE_METHOD_REFCOUNT(PanelManager); 233 DISABLE_RUNNABLE_METHOD_REFCOUNT(PanelManager);
233 234
234 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ 235 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698