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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.h

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COCOA_INFOBARS_INFOBAR_CONTAINER_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_COCOA_H_
7 7
8 #include <stddef.h>
9
10 #include "base/macros.h"
8 #include "chrome/browser/ui/infobar_container_delegate.h" 11 #include "chrome/browser/ui/infobar_container_delegate.h"
9 12
10 @class InfoBarContainerController; 13 @class InfoBarContainerController;
11 14
12 // The cocoa specific implementation of InfoBarContainer. This mostly serves as 15 // The cocoa specific implementation of InfoBarContainer. This mostly serves as
13 // a bridge for InfoBarContainerController. 16 // a bridge for InfoBarContainerController.
14 class InfoBarContainerCocoa : public infobars::InfoBarContainer, 17 class InfoBarContainerCocoa : public infobars::InfoBarContainer,
15 public InfoBarContainerDelegate { 18 public InfoBarContainerDelegate {
16 public: 19 public:
17 explicit InfoBarContainerCocoa(InfoBarContainerController* controller); 20 explicit InfoBarContainerCocoa(InfoBarContainerController* controller);
18 ~InfoBarContainerCocoa() override; 21 ~InfoBarContainerCocoa() override;
19 22
20 private: 23 private:
21 // InfoBarContainer: 24 // InfoBarContainer:
22 void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar, 25 void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
23 size_t position) override; 26 size_t position) override;
24 void PlatformSpecificRemoveInfoBar(infobars::InfoBar* infobar) override; 27 void PlatformSpecificRemoveInfoBar(infobars::InfoBar* infobar) override;
25 28
26 // InfoBarContainerDelegate: 29 // InfoBarContainerDelegate:
27 SkColor GetInfoBarSeparatorColor() const override; 30 SkColor GetInfoBarSeparatorColor() const override;
28 void InfoBarContainerStateChanged(bool is_animating) override; 31 void InfoBarContainerStateChanged(bool is_animating) override;
29 bool DrawInfoBarArrows(int* x) const override; 32 bool DrawInfoBarArrows(int* x) const override;
30 33
31 InfoBarContainerController* controller_; // weak, owns us. 34 InfoBarContainerController* controller_; // weak, owns us.
32 35
33 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerCocoa); 36 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerCocoa);
34 }; 37 };
35 38
36 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_COCOA_H_ 39 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/infobars/infobar_cocoa.h ('k') | chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698