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

Side by Side Diff: chrome/browser/modal_html_dialog_delegate.cc

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/modal_html_dialog_delegate.h" 5 #include "chrome/browser/modal_html_dialog_delegate.h"
6 6
7 #include "chrome/browser/browser_list.h" 7 #include "chrome/browser/browser_list.h"
8 #include "chrome/browser/renderer_host/render_view_host.h" 8 #include "chrome/browser/renderer_host/render_view_host.h"
9 #include "chrome/browser/tab_contents/tab_contents.h" 9 #include "chrome/browser/tab_contents/tab_contents.h"
10 #include "chrome/common/notification_service.h" 10 #include "chrome/common/notification_service.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void ModalHtmlDialogDelegate::OnDialogClosed(const std::string& json_retval) { 62 void ModalHtmlDialogDelegate::OnDialogClosed(const std::string& json_retval) {
63 // Our TabContents may have died before this point. 63 // Our TabContents may have died before this point.
64 if (contents_ && contents_->render_view_host()) { 64 if (contents_ && contents_->render_view_host()) {
65 contents_->render_view_host()->ModalHTMLDialogClosed(sync_response_, 65 contents_->render_view_host()->ModalHTMLDialogClosed(sync_response_,
66 json_retval); 66 json_retval);
67 } 67 }
68 68
69 // We are done with this request, so delete us. 69 // We are done with this request, so delete us.
70 delete this; 70 delete this;
71 } 71 }
72
73 bool ModalHtmlDialogDelegate::ShouldShowDialogTitle() const {
74 return true;
75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698