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

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

Issue 114059: Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/browser/extensions/extension_view.cc ('k') | chrome/browser/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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_VIEWS_ABOUT_IPC_DIALOG_H_ 5 #ifndef CHROME_BROWSER_VIEWS_ABOUT_IPC_DIALOG_H_
6 #define CHROME_BROWSER_VIEWS_ABOUT_IPC_DIALOG_H_ 6 #define CHROME_BROWSER_VIEWS_ABOUT_IPC_DIALOG_H_
7 7
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "chrome/common/ipc_logging.h" 9 #include "chrome/common/ipc_logging.h"
10 #include "views/controls/button/button.h" 10 #include "views/controls/button/button.h"
11 #include "views/controls/table/table_view.h" 11 #include "views/controls/table/table_view.h"
12 #include "views/window/dialog_delegate.h" 12 #include "views/window/dialog_delegate.h"
13 13
14 #if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED) 14 #if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED)
15 15
16 class Profile; 16 class Profile;
17 namespace views { 17 namespace views {
18 class NativeViewHost;
18 class TextButton; 19 class TextButton;
19 class HWNDView;
20 } // namespace views 20 } // namespace views
21 21
22 class AboutIPCDialog : public views::DialogDelegate, 22 class AboutIPCDialog : public views::DialogDelegate,
23 public views::ButtonListener, 23 public views::ButtonListener,
24 public IPC::Logging::Consumer, 24 public IPC::Logging::Consumer,
25 public views::View { 25 public views::View {
26 public: 26 public:
27 // This dialog is a singleton. If the dialog is already opened, it won't do 27 // This dialog is a singleton. If the dialog is already opened, it won't do
28 // anything, so you can just blindly call this function all you want. 28 // anything, so you can just blindly call this function all you want.
29 static void RunDialog(); 29 static void RunDialog();
(...skipping 22 matching lines...) Expand all
52 virtual bool CanResize() const; 52 virtual bool CanResize() const;
53 53
54 // views::ButtonListener. 54 // views::ButtonListener.
55 virtual void ButtonPressed(views::Button* button); 55 virtual void ButtonPressed(views::Button* button);
56 56
57 CListViewCtrl message_list_; 57 CListViewCtrl message_list_;
58 58
59 views::TextButton* track_toggle_; 59 views::TextButton* track_toggle_;
60 views::TextButton* clear_button_; 60 views::TextButton* clear_button_;
61 views::TextButton* filter_button_; 61 views::TextButton* filter_button_;
62 views::HWNDView* table_; 62 views::NativeViewHost* table_;
63 63
64 // Set to true when we're tracking network status. 64 // Set to true when we're tracking network status.
65 bool tracking_; 65 bool tracking_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog); 67 DISALLOW_COPY_AND_ASSIGN(AboutIPCDialog);
68 }; 68 };
69 69
70 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED 70 #endif // OS_WIN && IPC_MESSAGE_LOG_ENABLED
71 71
72 #endif // CHROME_BROWSER_VIEWS_ABOUT_IPC_DIALOG_H_ 72 #endif // CHROME_BROWSER_VIEWS_ABOUT_IPC_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view.cc ('k') | chrome/browser/views/about_ipc_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698