Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(880)

Side by Side Diff: chrome/browser/ui/views/edit_search_engine_dialog.h

Issue 8463009: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/views. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, no code change Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "views/controls/textfield/textfield_controller.h" 16 #include "views/controls/textfield/textfield_controller.h"
17 #include "views/window/dialog_delegate.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;
28 class TemplateURLService;
29 28
30 class EditSearchEngineDialog : public views::TextfieldController, 29 class EditSearchEngineDialog : public views::TextfieldController,
31 public views::DialogDelegateView { 30 public views::DialogDelegateView {
32 public: 31 public:
33 // The |template_url| and/or |delegate| may be NULL. 32 // The |template_url| and/or |delegate| may be NULL.
34 EditSearchEngineDialog(const TemplateURL* template_url, 33 EditSearchEngineDialog(const TemplateURL* template_url,
35 EditSearchEngineControllerDelegate* delegate, 34 EditSearchEngineControllerDelegate* delegate,
36 Profile* profile); 35 Profile* profile);
37 virtual ~EditSearchEngineDialog() {} 36 virtual ~EditSearchEngineDialog() {}
38 37
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 views::ImageView* title_iv_; 92 views::ImageView* title_iv_;
94 views::ImageView* keyword_iv_; 93 views::ImageView* keyword_iv_;
95 views::ImageView* url_iv_; 94 views::ImageView* url_iv_;
96 95
97 scoped_ptr<EditSearchEngineController> controller_; 96 scoped_ptr<EditSearchEngineController> controller_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(EditSearchEngineDialog); 98 DISALLOW_COPY_AND_ASSIGN(EditSearchEngineDialog);
100 }; 99 };
101 100
102 #endif // CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_ 101 #endif // CHROME_BROWSER_UI_VIEWS_EDIT_SEARCH_ENGINE_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/download/download_shelf_view.h ('k') | chrome/browser/ui/views/extensions/browser_action_drag_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698