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

Side by Side Diff: chrome/common/extensions/permissions/api_permission.cc

Issue 18854021: Making the extension permissions dialog scrollable, when needed (adding expandable sections for thi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Even more param reductions Created 7 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) 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 #include "chrome/common/extensions/permissions/api_permission.h" 5 #include "chrome/common/extensions/permissions/api_permission.h"
6 6
7 #include "ui/base/l10n/l10n_util.h" 7 #include "ui/base/l10n/l10n_util.h"
8 8
9 namespace { 9 namespace {
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 APIPermissionInfo::~APIPermissionInfo() { } 135 APIPermissionInfo::~APIPermissionInfo() { }
136 136
137 APIPermission* APIPermissionInfo::CreateAPIPermission() const { 137 APIPermission* APIPermissionInfo::CreateAPIPermission() const {
138 return api_permission_constructor_ ? 138 return api_permission_constructor_ ?
139 api_permission_constructor_(this) : new SimpleAPIPermission(this); 139 api_permission_constructor_(this) : new SimpleAPIPermission(this);
140 } 140 }
141 141
142 PermissionMessage APIPermissionInfo::GetMessage_() const { 142 PermissionMessage APIPermissionInfo::GetMessage_() const {
143 return PermissionMessage( 143 return PermissionMessage(
144 message_id_, l10n_util::GetStringUTF16(l10n_message_id_)); 144 message_id_, l10n_util::GetStringUTF16(l10n_message_id_), string16());
145 } 145 }
146 146
147 } // namespace extensions 147 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698