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

Side by Side Diff: chrome/browser/views/frame/browser_frame_win.cc

Issue 3173043: Move theme files in chrome/browser/ into a themes/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/views/frame/browser_frame_win.h" 5 #include "chrome/browser/views/frame/browser_frame_win.h"
6 6
7 #include <dwmapi.h> 7 #include <dwmapi.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 9
10 #include <set> 10 #include <set>
11 11
12 #include "app/win_util.h" 12 #include "app/win_util.h"
13 #include "base/win_util.h" 13 #include "base/win_util.h"
14 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profile.h"
15 #include "chrome/browser/browser_list.h" 15 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/browser_theme_provider.h" 16 #include "chrome/browser/themes/browser_theme_provider.h"
17 #include "chrome/browser/views/frame/app_panel_browser_frame_view.h" 17 #include "chrome/browser/views/frame/app_panel_browser_frame_view.h"
18 #include "chrome/browser/views/frame/browser_non_client_frame_view.h" 18 #include "chrome/browser/views/frame/browser_non_client_frame_view.h"
19 #include "chrome/browser/views/frame/browser_root_view.h" 19 #include "chrome/browser/views/frame/browser_root_view.h"
20 #include "chrome/browser/views/frame/browser_view.h" 20 #include "chrome/browser/views/frame/browser_view.h"
21 #include "chrome/browser/views/frame/glass_browser_frame_view.h" 21 #include "chrome/browser/views/frame/glass_browser_frame_view.h"
22 #include "chrome/browser/views/frame/opaque_browser_frame_view.h" 22 #include "chrome/browser/views/frame/opaque_browser_frame_view.h"
23 #include "grit/theme_resources.h" 23 #include "grit/theme_resources.h"
24 #include "views/screen.h" 24 #include "views/screen.h"
25 #include "views/window/window_delegate.h" 25 #include "views/window/window_delegate.h"
26 26
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 gfx::Rect tabstrip_bounds( 309 gfx::Rect tabstrip_bounds(
310 GetBoundsForTabStrip(browser_view_->tabstrip())); 310 GetBoundsForTabStrip(browser_view_->tabstrip()));
311 margins.cyTopHeight = (browser_view_->UseVerticalTabs() ? 311 margins.cyTopHeight = (browser_view_->UseVerticalTabs() ?
312 tabstrip_bounds.y() : tabstrip_bounds.bottom()) + kDWMFrameTopOffset; 312 tabstrip_bounds.y() : tabstrip_bounds.bottom()) + kDWMFrameTopOffset;
313 } 313 }
314 } else { 314 } else {
315 // For popup and app windows we want to use the default margins. 315 // For popup and app windows we want to use the default margins.
316 } 316 }
317 DwmExtendFrameIntoClientArea(GetNativeView(), &margins); 317 DwmExtendFrameIntoClientArea(GetNativeView(), &margins);
318 } 318 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698