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

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

Issue 208020: Change the view mode when switching between moles and toolstrips, and (Closed)
Patch Set: build system workarounds Created 11 years, 3 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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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
11 class ViewType { 11 class ViewType {
12 public: 12 public:
13 enum Type { 13 enum Type {
14 INVALID, 14 INVALID,
15 TAB_CONTENTS, 15 TAB_CONTENTS,
16 EXTENSION_TOOLSTRIP, 16 EXTENSION_TOOLSTRIP,
17 EXTENSION_MOLE,
17 EXTENSION_BACKGROUND_PAGE, 18 EXTENSION_BACKGROUND_PAGE,
18 DEV_TOOLS_UI, 19 DEV_TOOLS_UI,
19 INTERSTITIAL_PAGE, 20 INTERSTITIAL_PAGE,
20 }; 21 };
21 22
22 private: 23 private:
23 // This class is for scoping only, so you shouldn't create an instance of it. 24 // This class is for scoping only, so you shouldn't create an instance of it.
24 ViewType() {} 25 ViewType() {}
25 26
26 DISALLOW_COPY_AND_ASSIGN(ViewType); 27 DISALLOW_COPY_AND_ASSIGN(ViewType);
27 }; 28 };
28 29
29 #endif // CHROME_COMMON_VIEW_TYPES_H_ 30 #endif // CHROME_COMMON_VIEW_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/extensions/extension_view.cc ('k') | chrome/renderer/extensions/extension_process_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698