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

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

Issue 10389228: browser: Rename message_box_handler.* to javascript_dialog_creator.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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) 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/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 #include "chrome/browser/sync/profile_sync_service.h" 91 #include "chrome/browser/sync/profile_sync_service.h"
92 #include "chrome/browser/sync/profile_sync_service_factory.h" 92 #include "chrome/browser/sync/profile_sync_service_factory.h"
93 #include "chrome/browser/sync/sync_ui_util.h" 93 #include "chrome/browser/sync/sync_ui_util.h"
94 #include "chrome/browser/tab_closeable_state_watcher.h" 94 #include "chrome/browser/tab_closeable_state_watcher.h"
95 #include "chrome/browser/tab_contents/background_contents.h" 95 #include "chrome/browser/tab_contents/background_contents.h"
96 #include "chrome/browser/tab_contents/retargeting_details.h" 96 #include "chrome/browser/tab_contents/retargeting_details.h"
97 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h" 97 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h"
98 #include "chrome/browser/tab_contents/tab_util.h" 98 #include "chrome/browser/tab_contents/tab_util.h"
99 #include "chrome/browser/themes/theme_service.h" 99 #include "chrome/browser/themes/theme_service.h"
100 #include "chrome/browser/themes/theme_service_factory.h" 100 #include "chrome/browser/themes/theme_service_factory.h"
101 #include "chrome/browser/ui/app_modal_dialogs/message_box_handler.h" 101 #include "chrome/browser/ui/app_modal_dialogs/javascript_dialog_creator.h"
102 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h" 102 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h"
103 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" 103 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
104 #include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h" 104 #include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h"
105 #include "chrome/browser/ui/browser_dialogs.h" 105 #include "chrome/browser/ui/browser_dialogs.h"
106 #include "chrome/browser/ui/browser_finder.h" 106 #include "chrome/browser/ui/browser_finder.h"
107 #include "chrome/browser/ui/browser_list.h" 107 #include "chrome/browser/ui/browser_list.h"
108 #include "chrome/browser/ui/browser_navigator.h" 108 #include "chrome/browser/ui/browser_navigator.h"
109 #include "chrome/browser/ui/browser_tab_restore_service_delegate.h" 109 #include "chrome/browser/ui/browser_tab_restore_service_delegate.h"
110 #include "chrome/browser/ui/browser_toolbar_model_delegate.h" 110 #include "chrome/browser/ui/browser_toolbar_model_delegate.h"
111 #include "chrome/browser/ui/browser_window.h" 111 #include "chrome/browser/ui/browser_window.h"
(...skipping 5311 matching lines...) Expand 10 before | Expand all | Expand 10 after
5423 if (contents && !allow_js_access) { 5423 if (contents && !allow_js_access) {
5424 contents->web_contents()->GetController().LoadURL( 5424 contents->web_contents()->GetController().LoadURL(
5425 target_url, 5425 target_url,
5426 content::Referrer(), 5426 content::Referrer(),
5427 content::PAGE_TRANSITION_LINK, 5427 content::PAGE_TRANSITION_LINK,
5428 std::string()); // No extra headers. 5428 std::string()); // No extra headers.
5429 } 5429 }
5430 5430
5431 return contents != NULL; 5431 return contents != NULL;
5432 } 5432 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_modal_dialogs/message_box_handler.cc ('k') | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698