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

Side by Side Diff: components/infobars/core/infobar_delegate.cc

Issue 1299513002: [Android] Add support for a hung renderer dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/infobars/core/infobar_delegate.h" 5 #include "components/infobars/core/infobar_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "components/infobars/core/infobar.h" 9 #include "components/infobars/core/infobar.h"
10 #include "components/infobars/core/infobar_manager.h" 10 #include "components/infobars/core/infobar_manager.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ((nav_entry_id_ != details.entry_id) || details.is_reload); 79 ((nav_entry_id_ != details.entry_id) || details.is_reload);
80 } 80 }
81 81
82 void InfoBarDelegate::InfoBarDismissed() { 82 void InfoBarDelegate::InfoBarDismissed() {
83 } 83 }
84 84
85 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { 85 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() {
86 return nullptr; 86 return nullptr;
87 } 87 }
88 88
89 HungRendererInfoBarDelegate* InfoBarDelegate::AsHungRendererInfoBarDelegate() {
90 return nullptr;
91 }
92
89 InsecureContentInfoBarDelegate* 93 InsecureContentInfoBarDelegate*
90 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { 94 InfoBarDelegate::AsInsecureContentInfoBarDelegate() {
91 return nullptr; 95 return nullptr;
92 } 96 }
93 97
94 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { 98 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() {
95 return nullptr; 99 return nullptr;
96 } 100 }
97 101
98 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { 102 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() {
(...skipping 29 matching lines...) Expand all
128 132
129 translate::TranslateInfoBarDelegate* 133 translate::TranslateInfoBarDelegate*
130 InfoBarDelegate::AsTranslateInfoBarDelegate() { 134 InfoBarDelegate::AsTranslateInfoBarDelegate() {
131 return nullptr; 135 return nullptr;
132 } 136 }
133 137
134 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 138 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
135 } 139 }
136 140
137 } // namespace infobars 141 } // namespace infobars
OLDNEW
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | content/common/content_constants_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698