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

Side by Side Diff: chrome/browser/ui/cocoa/intents/web_intent_view_controller.h

Issue 11230023: Web Intents Mac: Add view animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comment Created 8 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 #ifndef CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_VIEW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_VIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_VIEW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_VIEW_CONTROLLER_H_
7 7
8 #include <Cocoa/Cocoa.h> 8 #include <Cocoa/Cocoa.h>
9 9
10 // Abstract base class for all web intent view controllers. 10 // Abstract base class for all web intent view controllers.
(...skipping 11 matching lines...) Expand all
22 22
23 // Gets the size of the view for the given width. |innerWidth| and the returned 23 // Gets the size of the view for the given width. |innerWidth| and the returned
24 // size does not include space for padding around the edge of the view. 24 // size does not include space for padding around the edge of the view.
25 // This method must be overridden if |-sizeToFitAndLayout| is not. 25 // This method must be overridden if |-sizeToFitAndLayout| is not.
26 - (NSSize)minimumSizeForInnerWidth:(CGFloat)innerWidth; 26 - (NSSize)minimumSizeForInnerWidth:(CGFloat)innerWidth;
27 27
28 // Layout subviews in the given frame. 28 // Layout subviews in the given frame.
29 // This method must be overridden if |-sizeToFitAndLayout| is not. 29 // This method must be overridden if |-sizeToFitAndLayout| is not.
30 - (void)layoutSubviewsWithinFrame:(NSRect)innerFrame; 30 - (void)layoutSubviewsWithinFrame:(NSRect)innerFrame;
31 31
32 // Called after the view has been removed from the super view. Subclasses can
33 // override this to clear and state.
34 - (void)viewRemovedFromSuperview;
35
32 @end 36 @end
33 37
34 #endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_VIEW_CONTROLLER_H_ 38 #endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698