OLD | NEW |
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_DEVTOOLS_DEVTOOLS_TOGGLE_ACTION_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TOGGLE_ACTION_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TOGGLE_ACTION_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TOGGLE_ACTION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
11 | 12 |
12 struct DevToolsToggleAction { | 13 struct DevToolsToggleAction { |
13 public: | 14 public: |
14 enum Type { | 15 enum Type { |
15 kShow, | 16 kShow, |
16 kShowConsole, | 17 kShowConsole, |
17 kShowSecurityPanel, | 18 kShowSecurityPanel, |
18 kInspect, | 19 kInspect, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 explicit DevToolsToggleAction(RevealParams* reveal_params); | 55 explicit DevToolsToggleAction(RevealParams* reveal_params); |
55 | 56 |
56 // The type of action. | 57 // The type of action. |
57 Type type_; | 58 Type type_; |
58 | 59 |
59 // Additional parameters for the Reveal action; NULL if of any other type. | 60 // Additional parameters for the Reveal action; NULL if of any other type. |
60 scoped_ptr<RevealParams> params_; | 61 scoped_ptr<RevealParams> params_; |
61 }; | 62 }; |
62 | 63 |
63 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TOGGLE_ACTION_H_ | 64 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TOGGLE_ACTION_H_ |
OLD | NEW |