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