| OLD | NEW |
| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 void AboutToRequestFocusFromTabTraversal(bool reverse) override; | 167 void AboutToRequestFocusFromTabTraversal(bool reverse) override; |
| 168 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override; | 168 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override; |
| 169 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; | 169 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 170 bool HandleAccessibleAction(const ui::AXActionData& action_data) override; | 170 bool HandleAccessibleAction(const ui::AXActionData& action_data) override; |
| 171 void OnFocus() override; | 171 void OnFocus() override; |
| 172 void OnBlur() override; | 172 void OnBlur() override; |
| 173 bool IsCommandIdEnabled(int command_id) const override; | 173 bool IsCommandIdEnabled(int command_id) const override; |
| 174 base::string16 GetSelectionClipboardText() const override; | 174 base::string16 GetSelectionClipboardText() const override; |
| 175 void DoInsertChar(base::char16 ch) override; | 175 void DoInsertChar(base::char16 ch) override; |
| 176 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; | 176 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; |
| 177 void ExecuteTextEditCommand(ui::TextEditCommand command) override; | 177 bool ExecuteTextEditCommandImpl(ui::TextEditCommand command) override; |
| 178 | 178 |
| 179 // chromeos::input_method::InputMethodManager::CandidateWindowObserver: | 179 // chromeos::input_method::InputMethodManager::CandidateWindowObserver: |
| 180 #if defined(OS_CHROMEOS) | 180 #if defined(OS_CHROMEOS) |
| 181 void CandidateWindowOpened( | 181 void CandidateWindowOpened( |
| 182 chromeos::input_method::InputMethodManager* manager) override; | 182 chromeos::input_method::InputMethodManager* manager) override; |
| 183 void CandidateWindowClosed( | 183 void CandidateWindowClosed( |
| 184 chromeos::input_method::InputMethodManager* manager) override; | 184 chromeos::input_method::InputMethodManager* manager) override; |
| 185 #endif | 185 #endif |
| 186 | 186 |
| 187 // views::TextfieldController: | 187 // views::TextfieldController: |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 bool select_all_on_gesture_tap_; | 244 bool select_all_on_gesture_tap_; |
| 245 | 245 |
| 246 // The time of the first character insert operation that has not yet been | 246 // The time of the first character insert operation that has not yet been |
| 247 // painted. Used to measure omnibox responsiveness with a histogram. | 247 // painted. Used to measure omnibox responsiveness with a histogram. |
| 248 base::TimeTicks insert_char_time_; | 248 base::TimeTicks insert_char_time_; |
| 249 | 249 |
| 250 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 250 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
| 251 }; | 251 }; |
| 252 | 252 |
| 253 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 253 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
| OLD | NEW |