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/l10n_util.h" | 13 #include "app/l10n_util.h" |
14 #include "app/message_box_flags.h" | 14 #include "app/message_box_flags.h" |
15 #include "app/resource_bundle.h" | 15 #include "app/resource_bundle.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/field_trial.h" | 18 #include "base/field_trial.h" |
19 #include "base/gfx/png_encoder.h" | |
20 #include "base/gfx/native_widget_types.h" | 19 #include "base/gfx/native_widget_types.h" |
21 #include "base/process_util.h" | 20 #include "base/process_util.h" |
22 #include "base/singleton.h" | 21 #include "base/singleton.h" |
23 #include "base/string_piece.h" | 22 #include "base/string_piece.h" |
24 #include "base/string_util.h" | 23 #include "base/string_util.h" |
25 #include "build/build_config.h" | 24 #include "build/build_config.h" |
26 #include "chrome/common/bindings_policy.h" | 25 #include "chrome/common/bindings_policy.h" |
27 #include "chrome/common/child_process_logging.h" | 26 #include "chrome/common/child_process_logging.h" |
28 #include "chrome/common/chrome_switches.h" | 27 #include "chrome/common/chrome_switches.h" |
29 #include "chrome/common/chrome_constants.h" | 28 #include "chrome/common/chrome_constants.h" |
(...skipping 3580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3610 new PluginMsg_SignalModalDialogEvent(host_window_)); | 3609 new PluginMsg_SignalModalDialogEvent(host_window_)); |
3611 | 3610 |
3612 message->EnableMessagePumping(); // Runs a nested message loop. | 3611 message->EnableMessagePumping(); // Runs a nested message loop. |
3613 bool rv = Send(message); | 3612 bool rv = Send(message); |
3614 | 3613 |
3615 PluginChannelHost::Broadcast( | 3614 PluginChannelHost::Broadcast( |
3616 new PluginMsg_ResetModalDialogEvent(host_window_)); | 3615 new PluginMsg_ResetModalDialogEvent(host_window_)); |
3617 | 3616 |
3618 return rv; | 3617 return rv; |
3619 } | 3618 } |
OLD | NEW |