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

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.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_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 gfx::RenderText* GetRenderText() { 63 gfx::RenderText* GetRenderText() {
64 return views::Textfield::GetRenderText(); 64 return views::Textfield::GetRenderText();
65 } 65 }
66 #endif 66 #endif
67 67
68 // OmniboxView: 68 // OmniboxView:
69 void SaveStateToTab(content::WebContents* tab) override; 69 void SaveStateToTab(content::WebContents* tab) override;
70 void OnTabChanged(const content::WebContents* web_contents) override; 70 void OnTabChanged(const content::WebContents* web_contents) override;
71 void ResetTabState(content::WebContents* web_contents) override; 71 void ResetTabState(content::WebContents* web_contents) override;
72 void Update() override; 72 void Update() override;
73 void UpdatePlaceholderText() override;
74 base::string16 GetText() const override; 73 base::string16 GetText() const override;
75 void SetUserText(const base::string16& text, 74 void SetUserText(const base::string16& text,
76 const base::string16& display_text, 75 const base::string16& display_text,
77 bool update_popup) override; 76 bool update_popup) override;
78 void SetForcedQuery() override; 77 void SetForcedQuery() override;
79 void GetSelectionBounds(base::string16::size_type* start, 78 void GetSelectionBounds(base::string16::size_type* start,
80 base::string16::size_type* end) const override; 79 base::string16::size_type* end) const override;
81 void SelectAll(bool reversed) override; 80 void SelectAll(bool reversed) override;
82 void RevertAll() override; 81 void RevertAll() override;
83 void SetFocus() override; 82 void SetFocus() override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // painted. Used to measure omnibox responsiveness with a histogram. 233 // painted. Used to measure omnibox responsiveness with a histogram.
235 base::TimeTicks insert_char_time_; 234 base::TimeTicks insert_char_time_;
236 235
237 // Used to bind callback functions to this object. 236 // Used to bind callback functions to this object.
238 base::WeakPtrFactory<OmniboxViewViews> weak_ptr_factory_; 237 base::WeakPtrFactory<OmniboxViewViews> weak_ptr_factory_;
239 238
240 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); 239 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews);
241 }; 240 };
242 241
243 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 242 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698