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

Side by Side Diff: chrome/browser/ui/cocoa/tab_dialogs_cocoa.h

Issue 1053463002: MacViews: Use native certificate viewer in MacViews browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@translate
Patch Set: Fix for tapted and rebase Created 5 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TAB_DIALOGS_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_COCOA_H_
7 7
8 #include "chrome/browser/ui/tab_dialogs.h" 8 #include "chrome/browser/ui/tab_dialogs.h"
9 9
10 // Cocoa implementation of TabDialogs interface. 10 // Cocoa implementation of TabDialogs interface.
11 class TabDialogsCocoa : public TabDialogs { 11 class TabDialogsCocoa : public TabDialogs {
12 public: 12 public:
13 explicit TabDialogsCocoa(content::WebContents* contents); 13 explicit TabDialogsCocoa(content::WebContents* contents);
14 ~TabDialogsCocoa() override; 14 ~TabDialogsCocoa() override;
15 15
16 // TabDialogs: 16 // TabDialogs:
17 gfx::NativeView GetDialogParentView() const override;
17 void ShowCollectedCookies() override; 18 void ShowCollectedCookies() override;
18 void ShowHungRendererDialog() override; 19 void ShowHungRendererDialog() override;
19 void HideHungRendererDialog() override; 20 void HideHungRendererDialog() override;
20 void ShowProfileSigninConfirmation( 21 void ShowProfileSigninConfirmation(
21 Browser* browser, 22 Browser* browser,
22 Profile* profile, 23 Profile* profile,
23 const std::string& username, 24 const std::string& username,
24 ui::ProfileSigninConfirmationDelegate* delegate) override; 25 ui::ProfileSigninConfirmationDelegate* delegate) override;
25 void ShowManagePasswordsBubble(bool user_action) override; 26 void ShowManagePasswordsBubble(bool user_action) override;
26 void HideManagePasswordsBubble() override; 27 void HideManagePasswordsBubble() override;
27 scoped_ptr<ValidationMessageBubble> ShowValidationMessage( 28 scoped_ptr<ValidationMessageBubble> ShowValidationMessage(
28 const gfx::Rect& anchor_in_root_view, 29 const gfx::Rect& anchor_in_root_view,
29 const base::string16& main_text, 30 const base::string16& main_text,
30 const base::string16& sub_text) override; 31 const base::string16& sub_text) override;
31 32
32 private: 33 private:
33 content::WebContents* web_contents_; // Weak. Owns this. 34 content::WebContents* web_contents_; // Weak. Owns this.
34 35
35 DISALLOW_COPY_AND_ASSIGN(TabDialogsCocoa); 36 DISALLOW_COPY_AND_ASSIGN(TabDialogsCocoa);
36 }; 37 };
37 38
38 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_COCOA_H_ 39 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/single_web_contents_dialog_manager_cocoa.mm ('k') | chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698