Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: chrome/browser/ui/views/about_ipc_dialog.h

Issue 16300008: Revert the about:ipc dialog to the old style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also call DialogDelegate::CreateDialogWidget for consistency. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/about_ipc_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/about_ipc_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698