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

Side by Side Diff: chrome/browser/ui/cocoa/validation_message_bubble_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 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_COCOA_VALIDATION_MESSAGE_BUBBLE_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_COCOA_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/macros.h"
9 #include "chrome/browser/ui/validation_message_bubble.h" 10 #include "chrome/browser/ui/validation_message_bubble.h"
10 11
11 @class ValidationMessageBubbleController; 12 @class ValidationMessageBubbleController;
12 13
13 namespace content { 14 namespace content {
14 class WebContents; 15 class WebContents;
15 } 16 }
16 17
17 class ValidationMessageBubbleCocoa : public ValidationMessageBubble { 18 class ValidationMessageBubbleCocoa : public ValidationMessageBubble {
18 public: 19 public:
19 ValidationMessageBubbleCocoa(content::WebContents* web_contents, 20 ValidationMessageBubbleCocoa(content::WebContents* web_contents,
20 const gfx::Rect& anchor_in_root_view, 21 const gfx::Rect& anchor_in_root_view,
21 const base::string16& main_text, 22 const base::string16& main_text,
22 const base::string16& sub_text); 23 const base::string16& sub_text);
23 ~ValidationMessageBubbleCocoa() override; 24 ~ValidationMessageBubbleCocoa() override;
24 25
25 // ValidationMessageBubble overrides: 26 // ValidationMessageBubble overrides:
26 void SetPositionRelativeToAnchor( 27 void SetPositionRelativeToAnchor(
27 content::RenderWidgetHost* widget_host, 28 content::RenderWidgetHost* widget_host,
28 const gfx::Rect& anchor_in_root_view) override; 29 const gfx::Rect& anchor_in_root_view) override;
29 30
30 private: 31 private:
31 base::scoped_nsobject<ValidationMessageBubbleController> controller_; 32 base::scoped_nsobject<ValidationMessageBubbleController> controller_;
32 33
33 DISALLOW_COPY_AND_ASSIGN(ValidationMessageBubbleCocoa); 34 DISALLOW_COPY_AND_ASSIGN(ValidationMessageBubbleCocoa);
34 }; 35 };
35 36
36 #endif // CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_COCOA_H_ 37 #endif // CHROME_BROWSER_UI_COCOA_VALIDATION_MESSAGE_BUBBLE_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/url_drop_target.mm ('k') | chrome/browser/ui/cocoa/view_id_util_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698