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

Side by Side Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.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_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_
6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ 6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ~RadioGroup(); 76 ~RadioGroup();
77 77
78 GURL url; 78 GURL url;
79 std::string title; 79 std::string title;
80 RadioItems radio_items; 80 RadioItems radio_items;
81 int default_item; 81 int default_item;
82 }; 82 };
83 83
84 struct DomainList { 84 struct DomainList {
85 DomainList(); 85 DomainList();
86 DomainList(const DomainList& other);
86 ~DomainList(); 87 ~DomainList();
87 88
88 std::string title; 89 std::string title;
89 std::set<std::string> hosts; 90 std::set<std::string> hosts;
90 }; 91 };
91 92
92 struct MediaMenu { 93 struct MediaMenu {
93 MediaMenu(); 94 MediaMenu();
95 MediaMenu(const MediaMenu& other);
94 ~MediaMenu(); 96 ~MediaMenu();
95 97
96 std::string label; 98 std::string label;
97 content::MediaStreamDevice default_device; 99 content::MediaStreamDevice default_device;
98 content::MediaStreamDevice selected_device; 100 content::MediaStreamDevice selected_device;
99 bool disabled; 101 bool disabled;
100 }; 102 };
101 typedef std::map<content::MediaStreamType, MediaMenu> MediaMenuMap; 103 typedef std::map<content::MediaStreamType, MediaMenu> MediaMenuMap;
102 104
103 struct BubbleContent { 105 struct BubbleContent {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 // The content settings that are associated with the individual radio 328 // The content settings that are associated with the individual radio
327 // buttons. 329 // buttons.
328 ContentSetting radio_item_setting_[2]; 330 ContentSetting radio_item_setting_[2];
329 // The state of the microphone and camera access. 331 // The state of the microphone and camera access.
330 TabSpecificContentSettings::MicrophoneCameraState state_; 332 TabSpecificContentSettings::MicrophoneCameraState state_;
331 333
332 DISALLOW_COPY_AND_ASSIGN(ContentSettingMediaStreamBubbleModel); 334 DISALLOW_COPY_AND_ASSIGN(ContentSettingMediaStreamBubbleModel);
333 }; 335 };
334 336
335 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ 337 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698