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

Side by Side Diff: ui/native_theme/native_theme.h

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « ui/base/ime/composition_text.cc ('k') | ui/native_theme/native_theme.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_NATIVE_THEME_NATIVE_THEME_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 int classic_state; // Used on Windows when uxtheme is not available. 192 int classic_state; // Used on Windows when uxtheme is not available.
193 }; 193 };
194 194
195 struct TrackbarExtraParams { 195 struct TrackbarExtraParams {
196 bool vertical; 196 bool vertical;
197 int classic_state; // Used on Windows when uxtheme is not available. 197 int classic_state; // Used on Windows when uxtheme is not available.
198 }; 198 };
199 199
200 union NATIVE_THEME_EXPORT ExtraParams { 200 union NATIVE_THEME_EXPORT ExtraParams {
201 ExtraParams(); 201 ExtraParams();
202 ExtraParams(const ExtraParams& other);
202 203
203 ButtonExtraParams button; 204 ButtonExtraParams button;
204 InnerSpinButtonExtraParams inner_spin; 205 InnerSpinButtonExtraParams inner_spin;
205 MenuArrowExtraParams menu_arrow; 206 MenuArrowExtraParams menu_arrow;
206 MenuCheckExtraParams menu_check; 207 MenuCheckExtraParams menu_check;
207 MenuItemExtraParams menu_item; 208 MenuItemExtraParams menu_item;
208 MenuListExtraParams menu_list; 209 MenuListExtraParams menu_list;
209 MenuBackgroundExtraParams menu_background; 210 MenuBackgroundExtraParams menu_background;
210 ProgressBarExtraParams progress_bar; 211 ProgressBarExtraParams progress_bar;
211 ScrollbarArrowExtraParams scrollbar_arrow; 212 ScrollbarArrowExtraParams scrollbar_arrow;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 private: 379 private:
379 // Observers to notify when the native theme changes. 380 // Observers to notify when the native theme changes.
380 base::ObserverList<NativeThemeObserver> native_theme_observers_; 381 base::ObserverList<NativeThemeObserver> native_theme_observers_;
381 382
382 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 383 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
383 }; 384 };
384 385
385 } // namespace ui 386 } // namespace ui
386 387
387 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 388 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW
« no previous file with comments | « ui/base/ime/composition_text.cc ('k') | ui/native_theme/native_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698