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

Side by Side Diff: chrome/common/view_types.h

Issue 1989002: The app launcher had a height of zero as it was not getting preferred size up... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 7 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COMMON_VIEW_TYPES_H_ 5 #ifndef CHROME_COMMON_VIEW_TYPES_H_
6 #define CHROME_COMMON_VIEW_TYPES_H_ 6 #define CHROME_COMMON_VIEW_TYPES_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 // Indicates different types of views 10 // Indicates different types of views
(...skipping 16 matching lines...) Expand all
27 // when converting JS arguments. 27 // when converting JS arguments.
28 static const char* kTabContents; 28 static const char* kTabContents;
29 static const char* kToolstrip; 29 static const char* kToolstrip;
30 static const char* kMole; 30 static const char* kMole;
31 static const char* kBackgroundPage; 31 static const char* kBackgroundPage;
32 static const char* kPopup; 32 static const char* kPopup;
33 static const char* kInfobar; 33 static const char* kInfobar;
34 static const char* kNotification; 34 static const char* kNotification;
35 static const char* kAll; 35 static const char* kAll;
36 36
37 // Return true if a view type should automatically resize to fit its contents.
38 static bool ShouldAutoResize(Type);
39
40 private: 37 private:
41 // This class is for scoping only, so you shouldn't create an instance of it. 38 // This class is for scoping only, so you shouldn't create an instance of it.
42 ViewType() {} 39 ViewType() {}
43 40
44 DISALLOW_COPY_AND_ASSIGN(ViewType); 41 DISALLOW_COPY_AND_ASSIGN(ViewType);
45 }; 42 };
46 43
47 #endif // CHROME_COMMON_VIEW_TYPES_H_ 44 #endif // CHROME_COMMON_VIEW_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698