| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 12 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
| 13 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 13 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
| 14 #include "ui/base/range/range.h" | 14 #include "ui/base/range/range.h" |
| 15 #include "ui/base/window_open_disposition.h" | 15 #include "ui/base/window_open_disposition.h" |
| 16 #include "ui/views/controls/textfield/textfield.h" | 16 #include "ui/views/controls/textfield/textfield.h" |
| 17 #include "ui/views/controls/textfield/textfield_controller.h" | 17 #include "ui/views/controls/textfield/textfield_controller.h" |
| 18 | 18 |
| 19 #if defined(OS_CHROMEOS) | 19 #if defined(OS_CHROMEOS) |
| 20 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 20 #include "chromeos/ime/input_method_manager.h" |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 class LocationBarView; | 23 class LocationBarView; |
| 24 class OmniboxPopupView; | 24 class OmniboxPopupView; |
| 25 class Profile; | 25 class Profile; |
| 26 | 26 |
| 27 namespace ui { | 27 namespace ui { |
| 28 class OSExchangeData; | 28 class OSExchangeData; |
| 29 } // namespace ui | 29 } // namespace ui |
| 30 | 30 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 // Indicates if we want to select all text in the omnibox when we get a | 198 // Indicates if we want to select all text in the omnibox when we get a |
| 199 // GESTURE_TAP. We want to select all only when the textfield is not in focus | 199 // GESTURE_TAP. We want to select all only when the textfield is not in focus |
| 200 // and gets a tap. So we use this variable to remember focus state before tap. | 200 // and gets a tap. So we use this variable to remember focus state before tap. |
| 201 bool select_all_on_gesture_tap_; | 201 bool select_all_on_gesture_tap_; |
| 202 | 202 |
| 203 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 203 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 206 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
| OLD | NEW |