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

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

Issue 7259004: Convert ViewMsg_NetworkStateChanged from routed -> control, allowing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux build 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"
8 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
10 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h" 11 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h"
11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 12 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
12 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
13 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
14 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
15 16
16 SelectFileDialog::FileTypeInfo::FileTypeInfo() : include_all_files(false) {} 17 SelectFileDialog::FileTypeInfo::FileTypeInfo() : include_all_files(false) {}
17 18
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 76 }
76 // Call the platform specific implementation of the file selection dialog. 77 // Call the platform specific implementation of the file selection dialog.
77 SelectFileImpl(type, title, default_path, file_types, file_type_index, 78 SelectFileImpl(type, title, default_path, file_types, file_type_index,
78 default_extension, owning_window, params); 79 default_extension, owning_window, params);
79 } 80 }
80 81
81 void SelectFileDialog::CancelFileSelection(void* params) { 82 void SelectFileDialog::CancelFileSelection(void* params) {
82 if (listener_) 83 if (listener_)
83 listener_->FileSelectionCanceled(params); 84 listener_->FileSelectionCanceled(params);
84 } 85 }
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