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

Side by Side Diff: chrome/browser/ui/gtk/extensions/extension_uninstall_dialog_gtk.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 // Currently this file is only used for the uninstall prompt. The install prompt 5 // Currently this file is only used for the uninstall prompt. The install prompt
6 // code is in extension_install_prompt2_gtk.cc. 6 // code is in extension_install_prompt2_gtk.cc.
7 7
8 #include "chrome/browser/extensions/extension_uninstall_dialog.h" 8 #include "chrome/browser/extensions/extension_uninstall_dialog.h"
9 9
10 #include <gtk/gtk.h> 10 #include <gtk/gtk.h>
11 11
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_window.h" 15 #include "chrome/browser/ui/browser_window.h"
16 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 16 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
17 #include "chrome/common/extensions/extension.h" 17 #include "extensions/common/extension.h"
18 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
19 #include "ui/base/gtk/gtk_hig_constants.h" 19 #include "ui/base/gtk/gtk_hig_constants.h"
20 #include "ui/base/l10n/l10n_util.h" 20 #include "ui/base/l10n/l10n_util.h"
21 #include "ui/gfx/gtk_util.h" 21 #include "ui/gfx/gtk_util.h"
22 22
23 namespace { 23 namespace {
24 24
25 // GTK implementation of the uninstall dialog. 25 // GTK implementation of the uninstall dialog.
26 class ExtensionUninstallDialogGtk : public ExtensionUninstallDialog { 26 class ExtensionUninstallDialogGtk : public ExtensionUninstallDialog {
27 public: 27 public:
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 122 }
123 123
124 } // namespace 124 } // namespace
125 125
126 // static 126 // static
127 // Platform specific implementation of the uninstall dialog show method. 127 // Platform specific implementation of the uninstall dialog show method.
128 ExtensionUninstallDialog* ExtensionUninstallDialog::Create( 128 ExtensionUninstallDialog* ExtensionUninstallDialog::Create(
129 Profile* profile, Browser* browser, Delegate* delegate) { 129 Profile* profile, Browser* browser, Delegate* delegate) {
130 return new ExtensionUninstallDialogGtk(profile, browser, delegate); 130 return new ExtensionUninstallDialogGtk(profile, browser, delegate);
131 } 131 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698