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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 7283022: Make a clean interface for dialog callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 6eeb05f7c46df28df89fdf5630e4208d233fde75..88f6b93c324d5db5e5cf27c68947d3572e1cee1f 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -478,14 +478,6 @@ gfx::NativeWindow ExtensionHost::GetDialogRootWindow() {
return NULL;
}
-TabContents* ExtensionHost::AsTabContents() {
- return NULL;
-}
-
-ExtensionHost* ExtensionHost::AsExtensionHost() {
- return this;
-}
-
void ExtensionHost::OnDialogClosed(IPC::Message* reply_msg,
bool success,
const string16& user_input) {

Powered by Google App Engine
This is Rietveld 408576698