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

Side by Side Diff: chrome/browser/ui/extensions/extension_installed_bubble.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/extensions/extension_installed_bubble.h" 5 #include "chrome/browser/ui/extensions/extension_installed_bubble.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "chrome/browser/chrome_notification_types.h" 12 #include "chrome/browser/chrome_notification_types.h"
13 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
14 #include "chrome/common/extensions/api/extension_action/action_info.h" 14 #include "chrome/common/extensions/api/extension_action/action_info.h"
15 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h" 15 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
16 #include "chrome/common/extensions/extension.h"
17 #include "content/public/browser/notification_details.h" 16 #include "content/public/browser/notification_details.h"
18 #include "content/public/browser/notification_source.h" 17 #include "content/public/browser/notification_source.h"
18 #include "extensions/common/extension.h"
19 19
20 using content::Details; 20 using content::Details;
21 using extensions::Extension; 21 using extensions::Extension;
22 22
23 namespace { 23 namespace {
24 24
25 // How long to wait for browser action animations to complete before retrying. 25 // How long to wait for browser action animations to complete before retrying.
26 const int kAnimationWaitMs = 50; 26 const int kAnimationWaitMs = 50;
27 // How often we retry when waiting for browser action animation to end. 27 // How often we retry when waiting for browser action animation to end.
28 const int kAnimationWaitRetries = 10; 28 const int kAnimationWaitRetries = 10;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 break; 109 break;
110 } 110 }
111 case chrome::NOTIFICATION_BROWSER_CLOSING: 111 case chrome::NOTIFICATION_BROWSER_CLOSING:
112 delete delegate_; 112 delete delegate_;
113 break; 113 break;
114 114
115 default: 115 default:
116 NOTREACHED() << "Received unexpected notification"; 116 NOTREACHED() << "Received unexpected notification";
117 } 117 }
118 } 118 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/extension_install_ui_default.cc ('k') | chrome/browser/ui/fullscreen/fullscreen_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698