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

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

Issue 11571023: Move ash/wm's DialogFrameView to ui/views/window; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reorder DialogDelegate functions; inline Get*Params into WidgetExample::ButtonPressed; etc. Created 8 years 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
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 27 matching lines...) Expand all
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/ui/idle_logout_dialog_view.cc ('k') | chrome/browser/ui/views/about_ipc_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698