| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 8 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
| 9 | 9 |
| 10 #if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED) | 10 #if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual gfx::Size GetPreferredSize() OVERRIDE; | 47 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 48 virtual int GetDialogButtons() const OVERRIDE; | 48 virtual int GetDialogButtons() const OVERRIDE; |
| 49 virtual string16 GetWindowTitle() const OVERRIDE; | 49 virtual string16 GetWindowTitle() const OVERRIDE; |
| 50 virtual void Layout() OVERRIDE; | 50 virtual void Layout() OVERRIDE; |
| 51 | 51 |
| 52 // IPC::Logging::Consumer implementation. | 52 // IPC::Logging::Consumer implementation. |
| 53 virtual void Log(const IPC::LogData& data) OVERRIDE; | 53 virtual void Log(const IPC::LogData& data) OVERRIDE; |
| 54 | 54 |
| 55 // views::WidgetDelegate (via views::DialogDelegateView). | 55 // views::WidgetDelegate (via views::DialogDelegateView). |
| 56 virtual bool CanResize() const OVERRIDE; | 56 virtual bool CanResize() const OVERRIDE; |
| 57 virtual bool UseNewStyleForThisDialog() const OVERRIDE; |
| 57 | 58 |
| 58 // views::ButtonListener. | 59 // views::ButtonListener. |
| 59 virtual void ButtonPressed(views::Button* button, | 60 virtual void ButtonPressed(views::Button* button, |
| 60 const ui::Event& event) OVERRIDE; | 61 const ui::Event& event) OVERRIDE; |
| 61 | 62 |
| 62 WTL::CListViewCtrl message_list_; | 63 WTL::CListViewCtrl message_list_; |
| 63 | 64 |
| 64 views::LabelButton* track_toggle_; | 65 views::LabelButton* track_toggle_; |
| 65 views::LabelButton* clear_button_; | 66 views::LabelButton* clear_button_; |
| 66 views::LabelButton* filter_button_; | 67 views::LabelButton* filter_button_; |
| 67 views::NativeViewHost* table_; | 68 views::NativeViewHost* table_; |
| 68 | 69 |
| 69 // Set to true when we're tracking network status. | 70 // Set to true when we're tracking network status. |
| 70 bool tracking_; | 71 bool tracking_; |
| 71 | 72 |
| 72 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog); | 73 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog); |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED | 76 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED |
| 76 | 77 |
| 77 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ | 78 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ |
| OLD | NEW |