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

Side by Side Diff: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h

Issue 1104513003: Omnibox: Remove Hint Text Code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed WITH_DEFAULT_SEARCH_PROVIDER part of string Created 5 years, 8 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_OMNIBOX_OMNIBOX_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 15 matching lines...) Expand all
26 Profile* profile, 26 Profile* profile,
27 CommandUpdater* command_updater, 27 CommandUpdater* command_updater,
28 AutocompleteTextField* field); 28 AutocompleteTextField* field);
29 ~OmniboxViewMac() override; 29 ~OmniboxViewMac() override;
30 30
31 // OmniboxView: 31 // OmniboxView:
32 void SaveStateToTab(content::WebContents* tab) override; 32 void SaveStateToTab(content::WebContents* tab) override;
33 void OnTabChanged(const content::WebContents* web_contents) override; 33 void OnTabChanged(const content::WebContents* web_contents) override;
34 void ResetTabState(content::WebContents* web_contents) override; 34 void ResetTabState(content::WebContents* web_contents) override;
35 void Update() override; 35 void Update() override;
36 void UpdatePlaceholderText() override;
37 void OpenMatch(const AutocompleteMatch& match, 36 void OpenMatch(const AutocompleteMatch& match,
38 WindowOpenDisposition disposition, 37 WindowOpenDisposition disposition,
39 const GURL& alternate_nav_url, 38 const GURL& alternate_nav_url,
40 const base::string16& pasted_text, 39 const base::string16& pasted_text,
41 size_t selected_line) override; 40 size_t selected_line) override;
42 base::string16 GetText() const override; 41 base::string16 GetText() const override;
43 void SetWindowTextAndCaretPos(const base::string16& text, 42 void SetWindowTextAndCaretPos(const base::string16& text,
44 size_t caret_pos, 43 size_t caret_pos,
45 bool update_popup, 44 bool update_popup,
46 bool notify_text_changed) override; 45 bool notify_text_changed) override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 bool in_coalesced_update_block_; 196 bool in_coalesced_update_block_;
198 bool do_coalesced_text_update_; 197 bool do_coalesced_text_update_;
199 base::string16 coalesced_text_update_; 198 base::string16 coalesced_text_update_;
200 bool do_coalesced_range_update_; 199 bool do_coalesced_range_update_;
201 NSRange coalesced_range_update_; 200 NSRange coalesced_range_update_;
202 201
203 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); 202 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac);
204 }; 203 };
205 204
206 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ 205 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/search/local_ntp_source.cc ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698