| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/renderer/render_view.h" | 5 #include "chrome/renderer/render_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "app/gfx/color_utils.h" | 11 #include "app/gfx/color_utils.h" |
| 12 #include "app/gfx/favicon_size.h" | 12 #include "app/gfx/favicon_size.h" |
| 13 #include "app/gfx/native_widget_types.h" |
| 13 #include "app/l10n_util.h" | 14 #include "app/l10n_util.h" |
| 14 #include "app/message_box_flags.h" | 15 #include "app/message_box_flags.h" |
| 15 #include "app/resource_bundle.h" | 16 #include "app/resource_bundle.h" |
| 16 #include "base/command_line.h" | 17 #include "base/command_line.h" |
| 17 #include "base/compiler_specific.h" | 18 #include "base/compiler_specific.h" |
| 18 #include "base/field_trial.h" | 19 #include "base/field_trial.h" |
| 19 #include "base/gfx/native_widget_types.h" | |
| 20 #include "base/process_util.h" | 20 #include "base/process_util.h" |
| 21 #include "base/singleton.h" | 21 #include "base/singleton.h" |
| 22 #include "base/string_piece.h" | 22 #include "base/string_piece.h" |
| 23 #include "base/string_util.h" | 23 #include "base/string_util.h" |
| 24 #include "build/build_config.h" | 24 #include "build/build_config.h" |
| 25 #include "chrome/common/bindings_policy.h" | 25 #include "chrome/common/bindings_policy.h" |
| 26 #include "chrome/common/child_process_logging.h" | 26 #include "chrome/common/child_process_logging.h" |
| 27 #include "chrome/common/chrome_switches.h" | 27 #include "chrome/common/chrome_switches.h" |
| 28 #include "chrome/common/chrome_constants.h" | 28 #include "chrome/common/chrome_constants.h" |
| 29 #include "chrome/common/jstemplate_builder.h" | 29 #include "chrome/common/jstemplate_builder.h" |
| (...skipping 3607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3637 new PluginMsg_SignalModalDialogEvent(host_window_)); | 3637 new PluginMsg_SignalModalDialogEvent(host_window_)); |
| 3638 | 3638 |
| 3639 message->EnableMessagePumping(); // Runs a nested message loop. | 3639 message->EnableMessagePumping(); // Runs a nested message loop. |
| 3640 bool rv = Send(message); | 3640 bool rv = Send(message); |
| 3641 | 3641 |
| 3642 PluginChannelHost::Broadcast( | 3642 PluginChannelHost::Broadcast( |
| 3643 new PluginMsg_ResetModalDialogEvent(host_window_)); | 3643 new PluginMsg_ResetModalDialogEvent(host_window_)); |
| 3644 | 3644 |
| 3645 return rv; | 3645 return rv; |
| 3646 } | 3646 } |
| OLD | NEW |