| OLD | NEW |
| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 namespace views { | 29 namespace views { |
| 30 class TextStyle; | 30 class TextStyle; |
| 31 } | 31 } |
| 32 | 32 |
| 33 // Views-implementation of OmniboxView. This is based on gtk implementation. | 33 // Views-implementation of OmniboxView. This is based on gtk implementation. |
| 34 // The following features are not yet supported. | 34 // The following features are not yet supported. |
| 35 // | 35 // |
| 36 // LTR support. | 36 // LTR support. |
| 37 // Drag and drop behavior. | 37 // Drag and drop behavior. |
| 38 // Adjust paste behavior (should not autocomplete). |
| 38 // Custom context menu for omnibox. | 39 // Custom context menu for omnibox. |
| 39 // Instant. | 40 // Instant. |
| 40 class OmniboxViewViews : public views::View, | 41 class OmniboxViewViews : public views::View, |
| 41 public OmniboxView, | 42 public OmniboxView, |
| 42 public NotificationObserver, | 43 public NotificationObserver, |
| 43 public views::TextfieldController { | 44 public views::TextfieldController { |
| 44 public: | 45 public: |
| 45 OmniboxViewViews(AutocompleteEditController* controller, | 46 OmniboxViewViews(AutocompleteEditController* controller, |
| 46 ToolbarModel* toolbar_model, | 47 ToolbarModel* toolbar_model, |
| 47 Profile* profile, | 48 Profile* profile, |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // TextStyles for URL decoration. They're owned by textfield_. | 195 // TextStyles for URL decoration. They're owned by textfield_. |
| 195 views::TextStyle* faded_text_style_; | 196 views::TextStyle* faded_text_style_; |
| 196 views::TextStyle* normal_text_style_; | 197 views::TextStyle* normal_text_style_; |
| 197 views::TextStyle* security_error_scheme_style_; | 198 views::TextStyle* security_error_scheme_style_; |
| 198 views::TextStyle* secure_scheme_style_; | 199 views::TextStyle* secure_scheme_style_; |
| 199 | 200 |
| 200 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 201 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
| 201 }; | 202 }; |
| 202 | 203 |
| 203 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 204 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
| OLD | NEW |