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

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

Issue 560030: Refactored out JS specific part of modal dialog stack into its own class, exp... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
« no previous file with comments | « chrome/browser/message_box_handler.cc ('k') | chrome/browser/views/cookie_info_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tab_contents/tab_contents.h" 5 #include "chrome/browser/tab_contents/tab_contents.h"
6 6
7 #include "app/gfx/text_elider.h" 7 #include "app/gfx/text_elider.h"
8 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
9 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 16 matching lines...) Expand all
27 #include "chrome/browser/download/download_item_model.h" 27 #include "chrome/browser/download/download_item_model.h"
28 #include "chrome/browser/download/download_manager.h" 28 #include "chrome/browser/download/download_manager.h"
29 #include "chrome/browser/download/download_request_manager.h" 29 #include "chrome/browser/download/download_request_manager.h"
30 #include "chrome/browser/external_protocol_handler.h" 30 #include "chrome/browser/external_protocol_handler.h"
31 #include "chrome/browser/extensions/extensions_service.h" 31 #include "chrome/browser/extensions/extensions_service.h"
32 #include "chrome/browser/favicon_service.h" 32 #include "chrome/browser/favicon_service.h"
33 #include "chrome/browser/form_field_history_manager.h" 33 #include "chrome/browser/form_field_history_manager.h"
34 #include "chrome/browser/google_util.h" 34 #include "chrome/browser/google_util.h"
35 #include "chrome/browser/host_content_settings_map.h" 35 #include "chrome/browser/host_content_settings_map.h"
36 #include "chrome/browser/hung_renderer_dialog.h" 36 #include "chrome/browser/hung_renderer_dialog.h"
37 #include "chrome/browser/jsmessage_box_handler.h" 37 #include "chrome/browser/message_box_handler.h"
38 #include "chrome/browser/load_from_memory_cache_details.h" 38 #include "chrome/browser/load_from_memory_cache_details.h"
39 #include "chrome/browser/load_notification_details.h" 39 #include "chrome/browser/load_notification_details.h"
40 #include "chrome/browser/metrics/metric_event_duration_details.h" 40 #include "chrome/browser/metrics/metric_event_duration_details.h"
41 #include "chrome/browser/modal_html_dialog_delegate.h" 41 #include "chrome/browser/modal_html_dialog_delegate.h"
42 #include "chrome/browser/omnibox_search_hint.h" 42 #include "chrome/browser/omnibox_search_hint.h"
43 #include "chrome/browser/password_manager/password_manager.h" 43 #include "chrome/browser/password_manager/password_manager.h"
44 #include "chrome/browser/plugin_installer.h" 44 #include "chrome/browser/plugin_installer.h"
45 #include "chrome/browser/profile.h" 45 #include "chrome/browser/profile.h"
46 #include "chrome/browser/renderer_host/render_process_host.h" 46 #include "chrome/browser/renderer_host/render_process_host.h"
47 #include "chrome/browser/renderer_host/render_widget_host_view.h" 47 #include "chrome/browser/renderer_host/render_widget_host_view.h"
(...skipping 2749 matching lines...) Expand 10 before | Expand all | Expand 10 after
2797 render_view_host()->JavaScriptMessageBoxClosed(reply_msg, success, prompt); 2797 render_view_host()->JavaScriptMessageBoxClosed(reply_msg, success, prompt);
2798 } 2798 }
2799 2799
2800 void TabContents::SetSuppressMessageBoxes(bool suppress_message_boxes) { 2800 void TabContents::SetSuppressMessageBoxes(bool suppress_message_boxes) {
2801 set_suppress_javascript_messages(suppress_message_boxes); 2801 set_suppress_javascript_messages(suppress_message_boxes);
2802 } 2802 }
2803 2803
2804 void TabContents::set_encoding(const std::string& encoding) { 2804 void TabContents::set_encoding(const std::string& encoding) {
2805 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding); 2805 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding);
2806 } 2806 }
OLDNEW
« no previous file with comments | « chrome/browser/message_box_handler.cc ('k') | chrome/browser/views/cookie_info_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698