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 // 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 #pragma once | 12 #pragma once |
13 | 13 |
14 #include <windows.h> | 14 #include <windows.h> |
15 | 15 |
| 16 #include "ui/views/window/dialog_delegate.h" |
16 #include "views/controls/textfield/textfield_controller.h" | 17 #include "views/controls/textfield/textfield_controller.h" |
17 #include "views/window/dialog_delegate.h" | |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 class Label; | 20 class Label; |
21 class ImageView; | 21 class ImageView; |
22 } | 22 } |
23 | 23 |
24 class EditSearchEngineController; | 24 class EditSearchEngineController; |
25 class EditSearchEngineControllerDelegate; | 25 class EditSearchEngineControllerDelegate; |
26 class Profile; | 26 class Profile; |
27 class TemplateURL; | 27 class TemplateURL; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 views::ImageView* title_iv_; | 93 views::ImageView* title_iv_; |
94 views::ImageView* keyword_iv_; | 94 views::ImageView* keyword_iv_; |
95 views::ImageView* url_iv_; | 95 views::ImageView* url_iv_; |
96 | 96 |
97 scoped_ptr<EditSearchEngineController> controller_; | 97 scoped_ptr<EditSearchEngineController> controller_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(EditSearchEngineDialog); | 99 DISALLOW_COPY_AND_ASSIGN(EditSearchEngineDialog); |
100 }; | 100 }; |
101 | 101 |
102 #endif // CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ | 102 #endif // CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ |
OLD | NEW |