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

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 9250016: Aura: Add "Edit Search Engines" option to the aura omnibox context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // views::TextfieldController: 152 // views::TextfieldController:
153 virtual void ContentsChanged(views::Textfield* sender, 153 virtual void ContentsChanged(views::Textfield* sender,
154 const string16& new_contents) OVERRIDE; 154 const string16& new_contents) OVERRIDE;
155 virtual bool HandleKeyEvent(views::Textfield* sender, 155 virtual bool HandleKeyEvent(views::Textfield* sender,
156 const views::KeyEvent& key_event) OVERRIDE; 156 const views::KeyEvent& key_event) OVERRIDE;
157 virtual void OnBeforeUserAction(views::Textfield* sender) OVERRIDE; 157 virtual void OnBeforeUserAction(views::Textfield* sender) OVERRIDE;
158 virtual void OnAfterUserAction(views::Textfield* sender) OVERRIDE; 158 virtual void OnAfterUserAction(views::Textfield* sender) OVERRIDE;
159 virtual void OnAfterCutOrCopy() OVERRIDE; 159 virtual void OnAfterCutOrCopy() OVERRIDE;
160 virtual void OnWriteDragData(ui::OSExchangeData* data) OVERRIDE; 160 virtual void OnWriteDragData(ui::OSExchangeData* data) OVERRIDE;
161 virtual void UpdateContextMenu(ui::SimpleMenuModel* menu_contents) OVERRIDE;
162 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
163 virtual void ExecuteCommand(int command_id) OVERRIDE;
161 164
162 #if defined(OS_CHROMEOS) 165 #if defined(OS_CHROMEOS)
163 // chromeos::input_method::InputMethodManager::CandidateWindowObserver: 166 // chromeos::input_method::InputMethodManager::CandidateWindowObserver:
164 virtual void CandidateWindowOpened( 167 virtual void CandidateWindowOpened(
165 chromeos::input_method::InputMethodManager* manager) OVERRIDE; 168 chromeos::input_method::InputMethodManager* manager) OVERRIDE;
166 virtual void CandidateWindowClosed( 169 virtual void CandidateWindowClosed(
167 chromeos::input_method::InputMethodManager* manager) OVERRIDE; 170 chromeos::input_method::InputMethodManager* manager) OVERRIDE;
168 #endif 171 #endif
169 172
170 private: 173 private:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 221
219 // True if the IME candidate window is open. When this is true, we want to 222 // True if the IME candidate window is open. When this is true, we want to
220 // avoid showing the popup. So far, the candidate window is detected only 223 // avoid showing the popup. So far, the candidate window is detected only
221 // on Chrome OS. 224 // on Chrome OS.
222 bool ime_candidate_window_open_; 225 bool ime_candidate_window_open_;
223 226
224 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); 227 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews);
225 }; 228 };
226 229
227 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 230 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698