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

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

Issue 6542027: Out of line cleanups for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Killer rebase. :( Created 9 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 | Annotate | Revision Log
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_EDIT_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_MAC_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_MAC_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 17 matching lines...) Expand all
28 public AutocompleteTextFieldObserver { 28 public AutocompleteTextFieldObserver {
29 public: 29 public:
30 AutocompleteEditViewMac(AutocompleteEditController* controller, 30 AutocompleteEditViewMac(AutocompleteEditController* controller,
31 ToolbarModel* toolbar_model, 31 ToolbarModel* toolbar_model,
32 Profile* profile, 32 Profile* profile,
33 CommandUpdater* command_updater, 33 CommandUpdater* command_updater,
34 AutocompleteTextField* field); 34 AutocompleteTextField* field);
35 virtual ~AutocompleteEditViewMac(); 35 virtual ~AutocompleteEditViewMac();
36 36
37 // Implement the AutocompleteEditView interface. 37 // Implement the AutocompleteEditView interface.
38 virtual AutocompleteEditModel* model() { return model_.get(); } 38 virtual AutocompleteEditModel* model();
39 virtual const AutocompleteEditModel* model() const { return model_.get(); } 39 virtual const AutocompleteEditModel* model() const;
40 40
41 virtual void SaveStateToTab(TabContents* tab); 41 virtual void SaveStateToTab(TabContents* tab);
42 virtual void Update(const TabContents* tab_for_state_restoring); 42 virtual void Update(const TabContents* tab_for_state_restoring);
43 43
44 virtual void OpenURL(const GURL& url, 44 virtual void OpenURL(const GURL& url,
45 WindowOpenDisposition disposition, 45 WindowOpenDisposition disposition,
46 PageTransition::Type transition, 46 PageTransition::Type transition,
47 const GURL& alternate_nav_url, 47 const GURL& alternate_nav_url,
48 size_t selected_line, 48 size_t selected_line,
49 const string16& keyword); 49 const string16& keyword);
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // Was the delete key pressed with an empty selection at the end of the edit? 214 // Was the delete key pressed with an empty selection at the end of the edit?
215 bool delete_at_end_pressed_; 215 bool delete_at_end_pressed_;
216 216
217 // The maximum/standard line height for the displayed text. 217 // The maximum/standard line height for the displayed text.
218 CGFloat line_height_; 218 CGFloat line_height_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewMac); 220 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewMac);
221 }; 221 };
222 222
223 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_MAC_H_ 223 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « app/surface/accelerated_surface_mac.cc ('k') | chrome/browser/autocomplete/autocomplete_edit_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698