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

Side by Side Diff: chrome/browser/ui/views/select_file_dialog.cc

Issue 5046002: Cleanup: Include browser.h -> ui/browser.h [Part 2]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/shell_dialogs.h" 5 #include "chrome/browser/shell_dialogs.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/browser.h"
16 #include "chrome/browser/browser_list.h" 15 #include "chrome/browser/browser_list.h"
17 #include "chrome/browser/browser_thread.h" 16 #include "chrome/browser/browser_thread.h"
18 #include "chrome/browser/dom_ui/html_dialog_ui.h" 17 #include "chrome/browser/dom_ui/html_dialog_ui.h"
19 #include "chrome/browser/profile_manager.h" 18 #include "chrome/browser/profile_manager.h"
20 #include "chrome/browser/shell_dialogs.h" 19 #include "chrome/browser/shell_dialogs.h"
21 #include "chrome/browser/tab_contents/tab_contents.h" 20 #include "chrome/browser/tab_contents/tab_contents.h"
21 #include "chrome/browser/ui/browser.h"
22 #include "chrome/browser/views/browser_dialogs.h" 22 #include "chrome/browser/views/browser_dialogs.h"
23 #include "chrome/browser/views/html_dialog_view.h" 23 #include "chrome/browser/views/html_dialog_view.h"
24 #include "chrome/common/url_constants.h" 24 #include "chrome/common/url_constants.h"
25 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
26 #include "views/window/non_client_view.h" 26 #include "views/window/non_client_view.h"
27 #include "views/window/window.h" 27 #include "views/window/window.h"
28 28
29 namespace { 29 namespace {
30 30
31 const char kKeyNamePath[] = "path"; 31 const char kKeyNamePath[] = "path";
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 // TODO(xiyuan): Change this when the infrastructure is improved. 475 // TODO(xiyuan): Change this when the infrastructure is improved.
476 HtmlDialogUIDelegate** delegate = HtmlDialogUI::GetPropertyAccessor(). 476 HtmlDialogUIDelegate** delegate = HtmlDialogUI::GetPropertyAccessor().
477 GetProperty(dom_ui_->tab_contents()->property_bag()); 477 GetProperty(dom_ui_->tab_contents()->property_bag());
478 HtmlDialogView* containing_view = static_cast<HtmlDialogView*>(*delegate); 478 HtmlDialogView* containing_view = static_cast<HtmlDialogView*>(*delegate);
479 DCHECK(containing_view); 479 DCHECK(containing_view);
480 480
481 containing_view->GetWindow()->UpdateWindowTitle(); 481 containing_view->GetWindow()->UpdateWindowTitle();
482 containing_view->GetWindow()->GetNonClientView()->SchedulePaint(); 482 containing_view->GetWindow()->GetNonClientView()->SchedulePaint();
483 } 483 }
484 } 484 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/reload_button.cc ('k') | chrome/browser/ui/views/ssl_client_certificate_selector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698