| 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 #ifndef CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED) | 9 #if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED) |
| 10 | 10 |
| 11 #include <atlbase.h> | 11 #include <atlbase.h> |
| 12 #include <atlapp.h> | 12 #include <atlapp.h> |
| 13 #include <atlwin.h> | 13 #include <atlwin.h> |
| 14 #include <atlctrls.h> | 14 #include <atlctrls.h> |
| 15 | 15 |
| 16 #include "base/memory/singleton.h" | 16 #include "base/memory/singleton.h" |
| 17 #include "ipc/ipc_logging.h" | 17 #include "ipc/ipc_logging.h" |
| 18 #include "views/controls/button/button.h" | 18 #include "views/controls/button/button.h" |
| 19 #include "views/controls/table/table_view.h" | 19 #include "views/controls/table/table_view.h" |
| 20 #include "views/window/dialog_delegate.h" | 20 #include "views/window/dialog_delegate.h" |
| 21 | 21 |
| 22 | |
| 23 class Profile; | |
| 24 namespace views { | 22 namespace views { |
| 25 class NativeViewHost; | 23 class NativeViewHost; |
| 26 class TextButton; | 24 class TextButton; |
| 27 } // namespace views | 25 } // namespace views |
| 28 | 26 |
| 29 class AboutIPCDialog : public views::DialogDelegateView, | 27 class AboutIPCDialog : public views::DialogDelegateView, |
| 30 public views::ButtonListener, | 28 public views::ButtonListener, |
| 31 public IPC::Logging::Consumer { | 29 public IPC::Logging::Consumer { |
| 32 public: | 30 public: |
| 33 // This dialog is a singleton. If the dialog is already opened, it won't do | 31 // This dialog is a singleton. If the dialog is already opened, it won't do |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 68 |
| 71 // Set to true when we're tracking network status. | 69 // Set to true when we're tracking network status. |
| 72 bool tracking_; | 70 bool tracking_; |
| 73 | 71 |
| 74 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog); | 72 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog); |
| 75 }; | 73 }; |
| 76 | 74 |
| 77 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED | 75 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED |
| 78 | 76 |
| 79 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ | 77 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ |
| OLD | NEW |