| 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 27 matching lines...) Expand all Loading... |
| 38 private: | 38 private: |
| 39 friend struct DefaultSingletonTraits<AboutIPCDialog>; | 39 friend struct DefaultSingletonTraits<AboutIPCDialog>; |
| 40 | 40 |
| 41 AboutIPCDialog(); | 41 AboutIPCDialog(); |
| 42 | 42 |
| 43 // Sets up all UI controls for the dialog. | 43 // Sets up all UI controls for the dialog. |
| 44 void SetupControls(); | 44 void SetupControls(); |
| 45 | 45 |
| 46 // views::View overrides. | 46 // views::View overrides. |
| 47 virtual gfx::Size GetPreferredSize() OVERRIDE; | 47 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 48 virtual views::View* GetContentsView() OVERRIDE; | |
| 49 virtual int GetDialogButtons() const OVERRIDE; | 48 virtual int GetDialogButtons() const OVERRIDE; |
| 50 virtual string16 GetWindowTitle() const OVERRIDE; | 49 virtual string16 GetWindowTitle() const OVERRIDE; |
| 51 virtual void Layout() OVERRIDE; | 50 virtual void Layout() OVERRIDE; |
| 52 | 51 |
| 53 // IPC::Logging::Consumer implementation. | 52 // IPC::Logging::Consumer implementation. |
| 54 virtual void Log(const IPC::LogData& data) OVERRIDE; | 53 virtual void Log(const IPC::LogData& data) OVERRIDE; |
| 55 | 54 |
| 56 // views::WidgetDelegate (via views::DialogDelegateView). | 55 // views::WidgetDelegate (via views::DialogDelegateView). |
| 57 virtual bool CanResize() const OVERRIDE; | 56 virtual bool CanResize() const OVERRIDE; |
| 58 | 57 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 69 | 68 |
| 70 // Set to true when we're tracking network status. | 69 // Set to true when we're tracking network status. |
| 71 bool tracking_; | 70 bool tracking_; |
| 72 | 71 |
| 73 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog); | 72 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog); |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED | 75 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED |
| 77 | 76 |
| 78 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ | 77 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_IPC_DIALOG_H_ |
| OLD | NEW |