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 that all_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 |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "base/utf_string_conversions.h" | 25 #include "base/utf_string_conversions.h" |
26 #include "chrome/app/chrome_command_ids.h" | 26 #include "chrome/app/chrome_command_ids.h" |
27 #include "chrome/app/chrome_dll_resource.h" | 27 #include "chrome/app/chrome_dll_resource.h" |
28 #include "chrome/browser/ui/browser_dialogs.h" | 28 #include "chrome/browser/ui/browser_dialogs.h" |
29 #include "chrome/common/chrome_constants.h" | 29 #include "chrome/common/chrome_constants.h" |
30 #include "content/public/browser/content_ipc_logging.h" | 30 #include "content/public/browser/content_ipc_logging.h" |
31 #include "net/url_request/url_request.h" | 31 #include "net/url_request/url_request.h" |
32 #include "net/url_request/url_request_job.h" | 32 #include "net/url_request/url_request_job.h" |
33 #include "ui/views/layout/grid_layout.h" | 33 #include "ui/views/layout/grid_layout.h" |
34 #include "ui/views/layout/layout_constants.h" | 34 #include "ui/views/layout/layout_constants.h" |
| 35 #include "ui/views/widget/widget.h" |
35 #include "views/controls/button/text_button.h" | 36 #include "views/controls/button/text_button.h" |
36 #include "views/controls/native/native_view_host.h" | 37 #include "views/controls/native/native_view_host.h" |
37 #include "views/widget/widget.h" | |
38 | 38 |
39 namespace { | 39 namespace { |
40 | 40 |
41 // We don't localize this UI since this is a developer-only feature. | 41 // We don't localize this UI since this is a developer-only feature. |
42 const wchar_t kStartTrackingLabel[] = L"Start tracking"; | 42 const wchar_t kStartTrackingLabel[] = L"Start tracking"; |
43 const wchar_t kStopTrackingLabel[] = L"Stop tracking"; | 43 const wchar_t kStopTrackingLabel[] = L"Stop tracking"; |
44 const wchar_t kClearLabel[] = L"Clear"; | 44 const wchar_t kClearLabel[] = L"Clear"; |
45 const wchar_t kFilterLabel[] = L"Filter..."; | 45 const wchar_t kFilterLabel[] = L"Filter..."; |
46 | 46 |
47 enum { | 47 enum { |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 368 |
369 namespace browser { | 369 namespace browser { |
370 | 370 |
371 void ShowAboutIPCDialog() { | 371 void ShowAboutIPCDialog() { |
372 AboutIPCDialog::RunDialog(); | 372 AboutIPCDialog::RunDialog(); |
373 } | 373 } |
374 | 374 |
375 } // namespace browser | 375 } // namespace browser |
376 | 376 |
377 #endif // IPC_MESSAGE_LOG_ENABLED | 377 #endif // IPC_MESSAGE_LOG_ENABLED |
OLD | NEW |