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 // EditSearchEngineDialog provides text fields for editing a keyword: the title, | 5 // EditSearchEngineDialog provides text fields for editing a keyword: the title, |
6 // url and actual keyword. It is used by the KeywordEditorView of the Options | 6 // url and actual keyword. It is used by the KeywordEditorView of the Options |
7 // dialog, and also on its own to confirm the addition of a keyword added by | 7 // dialog, and also on its own to confirm the addition of a keyword added by |
8 // the ExternalJSObject via the RenderView. | 8 // the ExternalJSObject via the RenderView. |
9 | 9 |
10 #ifndef CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ | 10 #ifndef CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ |
11 #define CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ | 11 #define CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ |
12 | 12 |
| 13 #include "base/macros.h" |
13 #include "ui/views/controls/textfield/textfield_controller.h" | 14 #include "ui/views/controls/textfield/textfield_controller.h" |
14 #include "ui/views/window/dialog_delegate.h" | 15 #include "ui/views/window/dialog_delegate.h" |
15 | 16 |
16 namespace views { | 17 namespace views { |
17 class Label; | 18 class Label; |
18 class ImageView; | 19 class ImageView; |
19 } | 20 } |
20 | 21 |
21 class EditSearchEngineController; | 22 class EditSearchEngineController; |
22 class EditSearchEngineControllerDelegate; | 23 class EditSearchEngineControllerDelegate; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 views::ImageView* title_iv_; | 82 views::ImageView* title_iv_; |
82 views::ImageView* keyword_iv_; | 83 views::ImageView* keyword_iv_; |
83 views::ImageView* url_iv_; | 84 views::ImageView* url_iv_; |
84 | 85 |
85 scoped_ptr<EditSearchEngineController> controller_; | 86 scoped_ptr<EditSearchEngineController> controller_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(EditSearchEngineDialog); | 88 DISALLOW_COPY_AND_ASSIGN(EditSearchEngineDialog); |
88 }; | 89 }; |
89 | 90 |
90 #endif // CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ | 91 #endif // CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ |
OLD | NEW |