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

Side by Side Diff: chrome/browser/ui/views/app_modal_dialog_queue_wrapper.h

Issue 2862653002: If force-sign-in policy is enabled, popup warning dialog before window closing if auth token becom… (Closed)
Patch Set: cr and rebase from master Created 3 years, 7 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_APP_MODAL_DIALOG_QUEUE_WRAPPER_H_
6 #define CHROME_BROWSER_UI_VIEWS_APP_MODAL_DIALOG_QUEUE_WRAPPER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/views/browser_modal_dialog.h"
10
11 class Browser;
12
13 // A wrapper of app_modal::AppModalDialogQueue that is used to communicate with
14 // BrowserView for the Javascript dialog activiation.
15 class AppModalDialogQueueWrapper : public BrowserModalDialog {
16 public:
17 AppModalDialogQueueWrapper();
18 ~AppModalDialogQueueWrapper() override;
19
20 // override BrowserModalDialog
21 void ActivateModalDialog(Browser* browser) override;
22 bool IsShowing() override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(AppModalDialogQueueWrapper);
26 };
27
28 #endif // CHROME_BROWSER_UI_VIEWS_APP_MODAL_DIALOG_QUEUE_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698