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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_popup_view_mac.h

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include <string> 11 #include <string>
12 #include <map> 12 #include <map>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "base/scoped_nsobject.h" 16 #include "base/scoped_nsobject.h"
17 #include "chrome/browser/autocomplete/autocomplete.h" 17 #include "chrome/browser/autocomplete/autocomplete.h"
18 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" 18 #include "chrome/browser/autocomplete/autocomplete_popup_view.h"
19 #include "gfx/font.h" 19 #include "gfx/font.h"
20 #include "webkit/glue/window_open_disposition.h" 20 #include "webkit/glue/window_open_disposition.h"
21 21
22 class AutocompletePopupModel; 22 class AutocompletePopupModel;
23 class AutocompleteEditModel; 23 class AutocompleteEditModel;
24 class AutocompleteEditViewMac; 24 class AutocompleteEditViewMac;
25 @class NSImage; 25 @class NSImage;
26 class Profile; 26 class Profile;
27 class SkBitmap;
28 27
29 // Implements AutocompletePopupView using a raw NSWindow containing an 28 // Implements AutocompletePopupView using a raw NSWindow containing an
30 // NSTableView. 29 // NSTableView.
31 // 30 //
32 // TODO(rohitrao): This class is set up in a way that makes testing hard. 31 // TODO(rohitrao): This class is set up in a way that makes testing hard.
33 // Refactor and write unittests. http://crbug.com/9977 32 // Refactor and write unittests. http://crbug.com/9977
34 33
35 class AutocompletePopupViewMac : public AutocompletePopupView { 34 class AutocompletePopupViewMac : public AutocompletePopupView {
36 public: 35 public:
37 AutocompletePopupViewMac(AutocompleteEditViewMac* edit_view, 36 AutocompletePopupViewMac(AutocompleteEditViewMac* edit_view,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 NSTextField* field_; // owned by tab controller 125 NSTextField* field_; // owned by tab controller
127 126
128 // Child window containing a matrix which implements the popup. 127 // Child window containing a matrix which implements the popup.
129 scoped_nsobject<NSWindow> popup_; 128 scoped_nsobject<NSWindow> popup_;
130 NSRect targetPopupFrame_; 129 NSRect targetPopupFrame_;
131 130
132 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewMac); 131 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewMac);
133 }; 132 };
134 133
135 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ 134 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698