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

Side by Side Diff: chrome/common/extensions/api/extension_action/action_info.h

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_
6 #define CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ 6 #define CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "extensions/common/extension.h" 11 #include "extensions/common/extension.h"
12 #include "extensions/common/extension_icon_set.h" 12 #include "extensions/common/extension_icon_set.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace base { 15 namespace base {
16 class DictionaryValue; 16 class DictionaryValue;
17 } 17 }
18 18
19 namespace extensions { 19 namespace extensions {
20 20
21 class Extension; 21 class Extension;
22 22
23 struct ActionInfo { 23 struct ActionInfo {
24 ActionInfo(); 24 ActionInfo();
25 ActionInfo(const ActionInfo& other);
25 ~ActionInfo(); 26 ~ActionInfo();
26 27
27 // The types of extension actions. 28 // The types of extension actions.
28 enum Type { 29 enum Type {
29 TYPE_BROWSER, 30 TYPE_BROWSER,
30 TYPE_PAGE, 31 TYPE_PAGE,
31 TYPE_SYSTEM_INDICATOR, 32 TYPE_SYSTEM_INDICATOR,
32 }; 33 };
33 34
34 // Loads an ActionInfo from the given DictionaryValue. 35 // Loads an ActionInfo from the given DictionaryValue.
(...skipping 28 matching lines...) Expand all
63 ExtensionIconSet default_icon; 64 ExtensionIconSet default_icon;
64 std::string default_title; 65 std::string default_title;
65 GURL default_popup_url; 66 GURL default_popup_url;
66 // action id -- only used with legacy page actions API. 67 // action id -- only used with legacy page actions API.
67 std::string id; 68 std::string id;
68 }; 69 };
69 70
70 } // namespace extensions 71 } // namespace extensions
71 72
72 #endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_ 73 #endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698