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

Side by Side Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ui/views/frame/browser_non_client_frame_view_mus.h" 5 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/profiler/scoped_tracker.h" 9 #include "base/profiler/scoped_tracker.h"
10 #include "build/build_config.h"
10 #include "chrome/app/chrome_command_ids.h" 11 #include "chrome/app/chrome_command_ids.h"
11 #include "chrome/browser/extensions/extension_util.h" 12 #include "chrome/browser/extensions/extension_util.h"
12 #include "chrome/browser/profiles/profiles_state.h" 13 #include "chrome/browser/profiles/profiles_state.h"
13 #include "chrome/browser/themes/theme_properties.h" 14 #include "chrome/browser/themes/theme_properties.h"
14 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_commands.h" 16 #include "chrome/browser/ui/browser_commands.h"
16 #include "chrome/browser/ui/layout_constants.h" 17 #include "chrome/browser/ui/layout_constants.h"
17 #include "chrome/browser/ui/views/frame/browser_frame.h" 18 #include "chrome/browser/ui/views/frame/browser_frame.h"
18 #include "chrome/browser/ui/views/frame/browser_frame_mus.h" 19 #include "chrome/browser/ui/views/frame/browser_frame_mus.h"
19 #include "chrome/browser/ui/views/frame/browser_header_painter_ash.h" 20 #include "chrome/browser/ui/views/frame/browser_header_painter_ash.h"
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 } 643 }
643 } 644 }
644 645
645 void BrowserNonClientFrameViewMus::PaintContentEdge(gfx::Canvas* canvas) { 646 void BrowserNonClientFrameViewMus::PaintContentEdge(gfx::Canvas* canvas) {
646 DCHECK(!UsePackagedAppHeaderStyle() && !UseWebAppHeaderStyle()); 647 DCHECK(!UsePackagedAppHeaderStyle() && !UseWebAppHeaderStyle());
647 const int bottom = frame_values().normal_insets.bottom(); 648 const int bottom = frame_values().normal_insets.bottom();
648 canvas->FillRect( 649 canvas->FillRect(
649 gfx::Rect(0, bottom, width(), kClientEdgeThickness), 650 gfx::Rect(0, bottom, width(), kClientEdgeThickness),
650 GetThemeProvider()->GetColor(ThemeProperties::COLOR_TOOLBAR_SEPARATOR)); 651 GetThemeProvider()->GetColor(ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
651 } 652 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.h ('k') | chrome/browser/ui/views/frame/browser_root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698