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

Side by Side Diff: chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/tab_modal_confirm_dialog_delegate.h" 5 #include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h"
6 6
7 #include "chrome/browser/chrome_notification_types.h" 7 #include "chrome/browser/chrome_notification_types.h"
8 #include "components/strings/grit/components_strings.h"
8 #include "content/public/browser/navigation_controller.h" 9 #include "content/public/browser/navigation_controller.h"
9 #include "content/public/browser/notification_source.h" 10 #include "content/public/browser/notification_source.h"
10 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
11 #include "grit/components_strings.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 13
14 using content::NavigationController; 14 using content::NavigationController;
15 using content::WebContents; 15 using content::WebContents;
16 16
17 TabModalConfirmDialogDelegate::TabModalConfirmDialogDelegate( 17 TabModalConfirmDialogDelegate::TabModalConfirmDialogDelegate(
18 WebContents* web_contents) 18 WebContents* web_contents)
19 : close_delegate_(NULL), 19 : close_delegate_(NULL),
20 closing_(false) { 20 closing_(false) {
21 NavigationController* controller = &web_contents->GetController(); 21 NavigationController* controller = &web_contents->GetController();
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 WindowOpenDisposition disposition) { 110 WindowOpenDisposition disposition) {
111 } 111 }
112 112
113 void TabModalConfirmDialogDelegate::OnClosed() { 113 void TabModalConfirmDialogDelegate::OnClosed() {
114 } 114 }
115 115
116 void TabModalConfirmDialogDelegate::CloseDialog() { 116 void TabModalConfirmDialogDelegate::CloseDialog() {
117 if (close_delegate_) 117 if (close_delegate_)
118 close_delegate_->CloseDialog(); 118 close_delegate_->CloseDialog();
119 } 119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698