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

Side by Side Diff: components/app_modal/app_modal_dialog.cc

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 1 month 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
« no previous file with comments | « components/app_modal/app_modal_dialog.h ('k') | components/app_modal/app_modal_dialog_queue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "components/app_modal_dialogs/app_modal_dialog.h" 5 #include "components/app_modal/app_modal_dialog.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "components/app_modal_dialogs/app_modal_dialog_queue.h" 9 #include "components/app_modal/app_modal_dialog_queue.h"
10 #include "components/app_modal_dialogs/native_app_modal_dialog.h" 10 #include "components/app_modal/native_app_modal_dialog.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "content/public/browser/web_contents_delegate.h" 12 #include "content/public/browser/web_contents_delegate.h"
13 13
14 using content::WebContents; 14 using content::WebContents;
15 15
16 namespace { 16 namespace {
17 17
18 AppModalDialogObserver* app_modal_dialog_observer = NULL; 18 AppModalDialogObserver* app_modal_dialog_observer = NULL;
19 19
20 } // namespace 20 } // namespace
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 DCHECK(native_dialog_); 75 DCHECK(native_dialog_);
76 native_dialog_->CloseAppModalDialog(); 76 native_dialog_->CloseAppModalDialog();
77 } 77 }
78 78
79 void AppModalDialog::CompleteDialog() { 79 void AppModalDialog::CompleteDialog() {
80 if (!completed_) { 80 if (!completed_) {
81 completed_ = true; 81 completed_ = true;
82 AppModalDialogQueue::GetInstance()->ShowNextDialog(); 82 AppModalDialogQueue::GetInstance()->ShowNextDialog();
83 } 83 }
84 } 84 }
OLDNEW
« no previous file with comments | « components/app_modal/app_modal_dialog.h ('k') | components/app_modal/app_modal_dialog_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698