| 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 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 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/browser/ui/browser_dialogs.h" | 25 #include "chrome/browser/ui/browser_dialogs.h" |
| 26 #include "chrome/common/chrome_constants.h" | 26 #include "chrome/common/chrome_constants.h" |
| 27 #include "chrome/common/devtools_messages.h" | 27 #include "chrome/common/devtools_messages.h" |
| 28 #include "chrome/common/plugin_messages.h" | 28 #include "chrome/common/plugin_messages.h" |
| 29 #include "chrome/common/render_messages.h" | 29 #include "chrome/common/render_messages.h" |
| 30 #include "net/url_request/url_request.h" | 30 #include "net/url_request/url_request.h" |
| 31 #include "net/url_request/url_request_job.h" | 31 #include "net/url_request/url_request_job.h" |
| 32 #include "net/url_request/url_request_job_tracker.h" | 32 #include "net/url_request/url_request_job_tracker.h" |
| 33 #include "views/controls/button/text_button.h" | 33 #include "views/controls/button/text_button.h" |
| 34 #include "views/controls/native/native_view_host.h" | 34 #include "views/controls/native/native_view_host.h" |
| 35 #include "views/grid_layout.h" | 35 #include "views/layout/grid_layout.h" |
| 36 #include "views/layout/layout_constants.h" | 36 #include "views/layout/layout_constants.h" |
| 37 #include "views/widget/root_view.h" | 37 #include "views/widget/root_view.h" |
| 38 #include "views/widget/widget.h" | 38 #include "views/widget/widget.h" |
| 39 #include "views/window/window.h" | 39 #include "views/window/window.h" |
| 40 | 40 |
| 41 namespace { | 41 namespace { |
| 42 | 42 |
| 43 // We don't localize this UI since this is a developer-only feature. | 43 // We don't localize this UI since this is a developer-only feature. |
| 44 const wchar_t kStartTrackingLabel[] = L"Start tracking"; | 44 const wchar_t kStartTrackingLabel[] = L"Start tracking"; |
| 45 const wchar_t kStopTrackingLabel[] = L"Stop tracking"; | 45 const wchar_t kStopTrackingLabel[] = L"Stop tracking"; |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 | 371 |
| 372 namespace browser { | 372 namespace browser { |
| 373 | 373 |
| 374 void ShowAboutIPCDialog() { | 374 void ShowAboutIPCDialog() { |
| 375 AboutIPCDialog::RunDialog(); | 375 AboutIPCDialog::RunDialog(); |
| 376 } | 376 } |
| 377 | 377 |
| 378 } // namespace browser | 378 } // namespace browser |
| 379 | 379 |
| 380 #endif // IPC_MESSAGE_LOG_ENABLED | 380 #endif // IPC_MESSAGE_LOG_ENABLED |
| OLD | NEW |