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 // 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 render_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 #include "chrome/browser/views/about_ipc_dialog.h" | 14 #include "chrome/browser/views/about_ipc_dialog.h" |
15 | 15 |
16 #include <set> | 16 #include <set> |
17 | 17 |
18 #include "base/string_util.h" | 18 #include "base/string_util.h" |
19 #include "base/thread.h" | 19 #include "base/thread.h" |
20 #include "base/time.h" | 20 #include "base/time.h" |
| 21 #include "base/utf_string_conversions.h" |
21 #include "chrome/app/chrome_dll_resource.h" | 22 #include "chrome/app/chrome_dll_resource.h" |
22 #include "chrome/browser/browser_process.h" | 23 #include "chrome/browser/browser_process.h" |
23 #include "chrome/common/chrome_constants.h" | 24 #include "chrome/common/chrome_constants.h" |
24 #include "chrome/common/devtools_messages.h" | 25 #include "chrome/common/devtools_messages.h" |
25 #include "chrome/common/plugin_messages.h" | 26 #include "chrome/common/plugin_messages.h" |
26 #include "chrome/common/render_messages.h" | 27 #include "chrome/common/render_messages.h" |
27 #include "net/url_request/url_request.h" | 28 #include "net/url_request/url_request.h" |
28 #include "net/url_request/url_request_job.h" | 29 #include "net/url_request/url_request_job.h" |
29 #include "net/url_request/url_request_job_tracker.h" | 30 #include "net/url_request/url_request_job_tracker.h" |
30 #include "views/grid_layout.h" | 31 #include "views/grid_layout.h" |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 } | 446 } |
446 track_toggle_->SchedulePaint(); | 447 track_toggle_->SchedulePaint(); |
447 } else if (button == clear_button_) { | 448 } else if (button == clear_button_) { |
448 message_list_.DeleteAllItems(); | 449 message_list_.DeleteAllItems(); |
449 } else if (button == filter_button_) { | 450 } else if (button == filter_button_) { |
450 RunSettingsDialog(GetRootView()->GetWidget()->GetNativeView()); | 451 RunSettingsDialog(GetRootView()->GetWidget()->GetNativeView()); |
451 } | 452 } |
452 } | 453 } |
453 | 454 |
454 #endif // IPC_MESSAGE_LOG_ENABLED | 455 #endif // IPC_MESSAGE_LOG_ENABLED |
OLD | NEW |