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

Side by Side Diff: chrome/browser/themes/theme_service_win.h

Issue 2381283003: Have Chrome draw top window border when using custom titlebar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove default Created 4 years, 2 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 | « chrome/browser/themes/theme_properties.cc ('k') | chrome/browser/themes/theme_service_win.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_THEMES_THEME_SERVICE_WIN_H_ 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_WIN_H_
6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_WIN_H_ 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_WIN_H_
7 7
8 #include "base/win/registry.h" 8 #include "base/win/registry.h"
9 #include "chrome/browser/themes/theme_service.h" 9 #include "chrome/browser/themes/theme_service.h"
10 10
(...skipping 15 matching lines...) Expand all
26 // frame color and updates |dwm_frame_color_|. 26 // frame color and updates |dwm_frame_color_|.
27 void OnDwmKeyUpdated(); 27 void OnDwmKeyUpdated();
28 28
29 // Registry key containing the params that determine the DWM frame color. 29 // Registry key containing the params that determine the DWM frame color.
30 // This is only initialized on Windows 10. 30 // This is only initialized on Windows 10.
31 std::unique_ptr<base::win::RegKey> dwm_key_; 31 std::unique_ptr<base::win::RegKey> dwm_key_;
32 32
33 // The DWM frame color, if available; white otherwise. 33 // The DWM frame color, if available; white otherwise.
34 SkColor dwm_frame_color_; 34 SkColor dwm_frame_color_;
35 35
36 // The DWM accent border color, if available; white otherwise.
37 SkColor dwm_accent_border_color_;
38
36 DISALLOW_COPY_AND_ASSIGN(ThemeServiceWin); 39 DISALLOW_COPY_AND_ASSIGN(ThemeServiceWin);
37 }; 40 };
38 41
39 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_WIN_H_ 42 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/themes/theme_properties.cc ('k') | chrome/browser/themes/theme_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698