OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Need to include this before any other file because it defines | 5 // Need to include this before any other file because it defines |
6 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define | 6 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define |
7 // IPC_MESSAGE_MACROS_LOG_ENABLED so render_messages.h will generate the | 7 // IPC_MESSAGE_MACROS_LOG_ENABLED so that all_messages.h will generate the |
8 // ViewMsgLog et al. functions. | 8 // ViewMsgLog et al. functions. |
9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
10 | 10 |
11 #ifdef IPC_MESSAGE_LOG_ENABLED | 11 #ifdef IPC_MESSAGE_LOG_ENABLED |
12 #define IPC_MESSAGE_MACROS_LOG_ENABLED | 12 #define IPC_MESSAGE_MACROS_LOG_ENABLED |
13 | 13 |
| 14 // We need to do this real early to be sure IPC_MESSAGE_MACROS_LOG_ENABLED |
| 15 // doesn't get undefined. |
| 16 #include "chrome/common/all_messages.h" |
| 17 |
14 #include "chrome/browser/ui/views/about_ipc_dialog.h" | 18 #include "chrome/browser/ui/views/about_ipc_dialog.h" |
15 | 19 |
16 #include <set> | 20 #include <set> |
17 | 21 |
18 #include "base/string_util.h" | 22 #include "base/string_util.h" |
19 #include "base/threading/thread.h" | 23 #include "base/threading/thread.h" |
20 #include "base/time.h" | 24 #include "base/time.h" |
21 #include "base/utf_string_conversions.h" | 25 #include "base/utf_string_conversions.h" |
22 #include "chrome/app/chrome_command_ids.h" | 26 #include "chrome/app/chrome_command_ids.h" |
23 #include "chrome/app/chrome_dll_resource.h" | 27 #include "chrome/app/chrome_dll_resource.h" |
24 #include "chrome/browser/browser_process.h" | 28 #include "chrome/browser/browser_process.h" |
25 #include "chrome/browser/ui/browser_dialogs.h" | 29 #include "chrome/browser/ui/browser_dialogs.h" |
26 #include "chrome/common/chrome_constants.h" | 30 #include "chrome/common/chrome_constants.h" |
27 #include "chrome/common/render_messages.h" | |
28 #include "content/common/devtools_messages.h" | |
29 #include "content/common/plugin_messages.h" | |
30 #include "net/url_request/url_request.h" | 31 #include "net/url_request/url_request.h" |
31 #include "net/url_request/url_request_job.h" | 32 #include "net/url_request/url_request_job.h" |
32 #include "views/controls/button/text_button.h" | 33 #include "views/controls/button/text_button.h" |
33 #include "views/controls/native/native_view_host.h" | 34 #include "views/controls/native/native_view_host.h" |
34 #include "views/layout/grid_layout.h" | 35 #include "views/layout/grid_layout.h" |
35 #include "views/layout/layout_constants.h" | 36 #include "views/layout/layout_constants.h" |
36 #include "views/widget/widget.h" | 37 #include "views/widget/widget.h" |
37 | 38 |
38 namespace { | 39 namespace { |
39 | 40 |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 | 368 |
368 namespace browser { | 369 namespace browser { |
369 | 370 |
370 void ShowAboutIPCDialog() { | 371 void ShowAboutIPCDialog() { |
371 AboutIPCDialog::RunDialog(); | 372 AboutIPCDialog::RunDialog(); |
372 } | 373 } |
373 | 374 |
374 } // namespace browser | 375 } // namespace browser |
375 | 376 |
376 #endif // IPC_MESSAGE_LOG_ENABLED | 377 #endif // IPC_MESSAGE_LOG_ENABLED |
OLD | NEW |