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

Side by Side Diff: chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 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 "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" 5 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h"
6 6
7 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" 7 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h"
8 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" 8 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h"
9 #include "chrome/common/notification_service.h"
10 #include "chrome/common/notification_type.h"
11 #include "content/browser/tab_contents/tab_contents.h" 9 #include "content/browser/tab_contents/tab_contents.h"
10 #include "content/common/notification_service.h"
11 #include "content/common/notification_type.h"
12 12
13 AppModalDialog::AppModalDialog(TabContents* tab_contents, 13 AppModalDialog::AppModalDialog(TabContents* tab_contents,
14 const std::wstring& title) 14 const std::wstring& title)
15 : skip_this_dialog_(false), 15 : skip_this_dialog_(false),
16 tab_contents_(tab_contents), 16 tab_contents_(tab_contents),
17 native_dialog_(NULL), 17 native_dialog_(NULL),
18 title_(title) { 18 title_(title) {
19 } 19 }
20 20
21 AppModalDialog::~AppModalDialog() { 21 AppModalDialog::~AppModalDialog() {
(...skipping 26 matching lines...) Expand all
48 } 48 }
49 49
50 void AppModalDialog::CloseModalDialog() { 50 void AppModalDialog::CloseModalDialog() {
51 DCHECK(native_dialog_); 51 DCHECK(native_dialog_);
52 native_dialog_->CloseAppModalDialog(); 52 native_dialog_->CloseAppModalDialog();
53 } 53 }
54 54
55 void AppModalDialog::CompleteDialog() { 55 void AppModalDialog::CompleteDialog() {
56 AppModalDialogQueue::GetInstance()->ShowNextDialog(); 56 AppModalDialogQueue::GetInstance()->ShowNextDialog();
57 } 57 }
OLDNEW
« no previous file with comments | « chrome/browser/translate/translate_manager.cc ('k') | chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698