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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h

Issue 922523005: [Extensions UI] Share more code in ExtensionInstalledBubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 (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 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" 12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
13 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
14 14
15 class Browser; 15 class Browser;
16 class ExtensionInstalledBubble; 16 class ExtensionInstalledBubble;
17 class ExtensionInstalledBubbleBridge; 17 class ExtensionInstalledBubbleBridge;
18 @class HyperlinkTextView; 18 @class HyperlinkTextView;
19 @class HoverCloseButton; 19 @class HoverCloseButton;
20 @class InfoBubbleView;
21 20
22 namespace extensions { 21 namespace extensions {
23 class BundleInstaller; 22 class BundleInstaller;
24 class Extension; 23 class Extension;
25 } 24 }
26 25
27 namespace extension_installed_bubble { 26 namespace extension_installed_bubble {
28 27
29 // Maximum height or width of extension's icon (corresponds to Windows & GTK). 28 // Maximum height or width of extension's icon (corresponds to Windows & GTK).
30 const int kIconSize = 43; 29 const int kIconSize = 43;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 - (NSRect)headingFrame; 140 - (NSRect)headingFrame;
142 - (NSRect)frameOfHowToUse; 141 - (NSRect)frameOfHowToUse;
143 - (NSRect)frameOfHowToManage; 142 - (NSRect)frameOfHowToManage;
144 - (NSRect)frameOfSigninPromo; 143 - (NSRect)frameOfSigninPromo;
145 - (BOOL)showSyncPromo; 144 - (BOOL)showSyncPromo;
146 - (NSButton*)appInstalledShortcutLink; 145 - (NSButton*)appInstalledShortcutLink;
147 146
148 @end // ExtensionInstalledBubbleController(ExposedForTesting) 147 @end // ExtensionInstalledBubbleController(ExposedForTesting)
149 148
150 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROL LER_H_ 149 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROL LER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698