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

Side by Side Diff: content/public/browser/render_widget_host_view_mac_delegate.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_
7 #pragma once
8 7
9 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
10 9
11 // This protocol is used as a delegate for the NSView class used in the 10 // This protocol is used as a delegate for the NSView class used in the
12 // hierarchy. There are two ways to extend the view: 11 // hierarchy. There are two ways to extend the view:
13 // - Implement the methods listed in the protocol below. 12 // - Implement the methods listed in the protocol below.
14 // - Implement any method, and if the view is requested to perform that method 13 // - Implement any method, and if the view is requested to perform that method
15 // and cannot, the delegate's implementation will be used. 14 // and cannot, the delegate's implementation will be used.
16 // 15 //
17 // Like any Objective-C delegate, it is not retained by the delegator object. 16 // Like any Objective-C delegate, it is not retained by the delegator object.
(...skipping 20 matching lines...) Expand all
38 37
39 // Provides validation of user interface items. If the return value is NO, then 38 // Provides validation of user interface items. If the return value is NO, then
40 // the delegate is unaware of that item and |valid| is undefined. Otherwise, 39 // the delegate is unaware of that item and |valid| is undefined. Otherwise,
41 // |valid| contains the validity of the specified item. 40 // |valid| contains the validity of the specified item.
42 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item 41 - (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item
43 isValidItem:(BOOL*)valid; 42 isValidItem:(BOOL*)valid;
44 43
45 @end 44 @end
46 45
47 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ 46 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host_view_mac_base.h ('k') | content/public/browser/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698