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

Side by Side Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.h

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 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_
7 7
8 #include "base/macros.h"
8 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
9 10
10 class BrowserNonClientFrameViewMac : public BrowserNonClientFrameView { 11 class BrowserNonClientFrameViewMac : public BrowserNonClientFrameView {
11 public: 12 public:
12 // Mac implementation of BrowserNonClientFrameView. 13 // Mac implementation of BrowserNonClientFrameView.
13 BrowserNonClientFrameViewMac(BrowserFrame* frame, BrowserView* browser_view); 14 BrowserNonClientFrameViewMac(BrowserFrame* frame, BrowserView* browser_view);
14 ~BrowserNonClientFrameViewMac() override; 15 ~BrowserNonClientFrameViewMac() override;
15 16
16 // BrowserNonClientFrameView: 17 // BrowserNonClientFrameView:
17 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override; 18 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const override;
(...skipping 23 matching lines...) Expand all
41 void UpdateNewAvatarButtonImpl() override; 42 void UpdateNewAvatarButtonImpl() override;
42 43
43 private: 44 private:
44 void PaintThemedFrame(gfx::Canvas* canvas); 45 void PaintThemedFrame(gfx::Canvas* canvas);
45 void PaintToolbarBackground(gfx::Canvas* canvas); 46 void PaintToolbarBackground(gfx::Canvas* canvas);
46 47
47 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMac); 48 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewMac);
48 }; 49 };
49 50
50 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_ 51 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_NON_CLIENT_FRAME_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698