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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_HTML_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual bool ShouldShowDialogTitle() const OVERRIDE; 78 virtual bool ShouldShowDialogTitle() const OVERRIDE;
79 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 79 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
80 80
81 // Overridden from TabContentsDelegate: 81 // Overridden from TabContentsDelegate:
82 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) OVERRIDE; 82 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) OVERRIDE;
83 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) 83 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event)
84 OVERRIDE; 84 OVERRIDE;
85 virtual void CloseContents(TabContents* source) OVERRIDE; 85 virtual void CloseContents(TabContents* source) OVERRIDE;
86 86
87 // Overridden from NotificationObserver 87 // Overridden from NotificationObserver
88 virtual void Observe(NotificationType type, 88 virtual void Observe(int type,
89 const NotificationSource& source, 89 const NotificationSource& source,
90 const NotificationDetails& details) OVERRIDE; 90 const NotificationDetails& details) OVERRIDE;
91 91
92 protected: 92 protected:
93 // Register accelerators for this dialog. 93 // Register accelerators for this dialog.
94 virtual void RegisterDialogAccelerators(); 94 virtual void RegisterDialogAccelerators();
95 95
96 private: 96 private:
97 FRIEND_TEST_ALL_PREFIXES(HtmlDialogBrowserTest, TestStateTransition); 97 FRIEND_TEST_ALL_PREFIXES(HtmlDialogBrowserTest, TestStateTransition);
98 98
(...skipping 15 matching lines...) Expand all
114 // closing) we delegate to the creator of this view, which we keep track of 114 // closing) we delegate to the creator of this view, which we keep track of
115 // using this variable. 115 // using this variable.
116 HtmlDialogUIDelegate* delegate_; 116 HtmlDialogUIDelegate* delegate_;
117 117
118 NotificationRegistrar notification_registrar_; 118 NotificationRegistrar notification_registrar_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(HtmlDialogView); 120 DISALLOW_COPY_AND_ASSIGN(HtmlDialogView);
121 }; 121 };
122 122
123 #endif // CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_ 123 #endif // CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/ui/views/html_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698