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

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

Issue 7300018: Revert 91390 (build breakage) - Convert ViewMsg_NetworkStateChanged from routed -> control (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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) 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 "chrome/browser/ui/shell_dialogs.h" 5 #include "chrome/browser/ui/shell_dialogs.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop.h"
9 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/prefs/pref_service.h" 9 #include "chrome/browser/prefs/pref_service.h"
11 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h" 10 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h"
12 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
13 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
14 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
15 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
16 15
17 SelectFileDialog::FileTypeInfo::FileTypeInfo() : include_all_files(false) {} 16 SelectFileDialog::FileTypeInfo::FileTypeInfo() : include_all_files(false) {}
18 17
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 } 75 }
77 // Call the platform specific implementation of the file selection dialog. 76 // Call the platform specific implementation of the file selection dialog.
78 SelectFileImpl(type, title, default_path, file_types, file_type_index, 77 SelectFileImpl(type, title, default_path, file_types, file_type_index,
79 default_extension, owning_window, params); 78 default_extension, owning_window, params);
80 } 79 }
81 80
82 void SelectFileDialog::CancelFileSelection(void* params) { 81 void SelectFileDialog::CancelFileSelection(void* params) {
83 if (listener_) 82 if (listener_)
84 listener_->FileSelectionCanceled(params); 83 listener_->FileSelectionCanceled(params);
85 } 84 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_drag_dest_gtk.cc ('k') | content/browser/net/browser_online_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698