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

Side by Side Diff: chrome/browser/ui/cocoa/base_bubble_controller.h

Issue 2747693003: Add missing include guards in Cocoa code. (Closed)
Patch Set: Created 3 years, 9 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_BASE_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BASE_BUBBLE_CONTROLLER_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 9
7 #include <memory> 10 #include <memory>
8 11
9 #include "components/bubble/bubble_reference.h" 12 #include "components/bubble/bubble_reference.h"
10 13
11 @class InfoBubbleView; 14 @class InfoBubbleView;
12 class TabStripModelObserverBridge; 15 class TabStripModelObserverBridge;
13 16
14 // Base class for bubble controllers. Manages a xib that contains an 17 // Base class for bubble controllers. Manages a xib that contains an
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 105
103 @end 106 @end
104 107
105 // Methods for use by subclasses. 108 // Methods for use by subclasses.
106 @interface BaseBubbleController (Protected) 109 @interface BaseBubbleController (Protected)
107 // Registers event taps *after* the window is shown so that the bubble is 110 // Registers event taps *after* the window is shown so that the bubble is
108 // dismissed when it resigns key. This only needs to be called if 111 // dismissed when it resigns key. This only needs to be called if
109 // |-showWindow:| is overriden and does not call super. Noop on OSes <10.7. 112 // |-showWindow:| is overriden and does not call super. Noop on OSes <10.7.
110 - (void)registerKeyStateEventTap; 113 - (void)registerKeyStateEventTap;
111 @end 114 @end
115
116 #endif // CHROME_BROWSER_UI_COCOA_BASE_BUBBLE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698