diff options
Diffstat (limited to 'chrome/browser/ui/views')
| -rw-r--r-- | chrome/browser/ui/views/browser_dialogs.h | 2 | ||||
| -rw-r--r-- | chrome/browser/ui/views/edit_search_engine_dialog.cc | 6 | ||||
| -rw-r--r-- | chrome/browser/ui/views/edit_search_engine_dialog.h | 4 | ||||
| -rw-r--r-- | chrome/browser/ui/views/frame/browser_view.cc | 2 | ||||
| -rw-r--r-- | chrome/browser/ui/views/frame/browser_view.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/ui/views/browser_dialogs.h b/chrome/browser/ui/views/browser_dialogs.h index d29b3e7..97fb06a 100644 --- a/chrome/browser/ui/views/browser_dialogs.h +++ b/chrome/browser/ui/views/browser_dialogs.h @@ -85,7 +85,7 @@ void ShowLoginWizard(const std::string& start_screen, const gfx::Size& size); // to be notified when the user is done editing, or NULL. If NULL, the dialog // will update the model with the user's edits directly. void EditSearchEngine(gfx::NativeWindow parent, - const TemplateURL* template_url, + TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile); diff --git a/chrome/browser/ui/views/edit_search_engine_dialog.cc b/chrome/browser/ui/views/edit_search_engine_dialog.cc index 805deea..d962008 100644 --- a/chrome/browser/ui/views/edit_search_engine_dialog.cc +++ b/chrome/browser/ui/views/edit_search_engine_dialog.cc @@ -31,7 +31,7 @@ using views::Textfield; namespace browser { void EditSearchEngine(gfx::NativeWindow parent, - const TemplateURL* template_url, + TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile) { EditSearchEngineDialog::Show(parent, template_url, delegate, profile); @@ -40,7 +40,7 @@ void EditSearchEngine(gfx::NativeWindow parent, } // namespace browser EditSearchEngineDialog::EditSearchEngineDialog( - const TemplateURL* template_url, + TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile) : controller_(new EditSearchEngineController(template_url, @@ -54,7 +54,7 @@ EditSearchEngineDialog::~EditSearchEngineDialog() { // static void EditSearchEngineDialog::Show(gfx::NativeWindow parent, - const TemplateURL* template_url, + TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile) { EditSearchEngineDialog* contents = diff --git a/chrome/browser/ui/views/edit_search_engine_dialog.h b/chrome/browser/ui/views/edit_search_engine_dialog.h index 83b3994..eb40bda1 100644 --- a/chrome/browser/ui/views/edit_search_engine_dialog.h +++ b/chrome/browser/ui/views/edit_search_engine_dialog.h @@ -28,14 +28,14 @@ class EditSearchEngineDialog : public views::TextfieldController, public views::DialogDelegateView { public: // The |template_url| and/or |delegate| may be NULL. - EditSearchEngineDialog(const TemplateURL* template_url, + EditSearchEngineDialog(TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile); virtual ~EditSearchEngineDialog(); // Shows the dialog to the user. static void Show(gfx::NativeWindow parent, - const TemplateURL* template_url, + TemplateURL* template_url, EditSearchEngineControllerDelegate* delegate, Profile* profile); diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc index 5bbca22..68409c4 100644 --- a/chrome/browser/ui/views/frame/browser_view.cc +++ b/chrome/browser/ui/views/frame/browser_view.cc @@ -1043,7 +1043,7 @@ void BrowserView::DisableInactiveFrame() { #endif // No tricks are needed to get the right behavior on Linux. } -void BrowserView::ConfirmAddSearchProvider(const TemplateURL* template_url, +void BrowserView::ConfirmAddSearchProvider(TemplateURL* template_url, Profile* profile) { browser::EditSearchEngine(GetWidget()->GetNativeWindow(), template_url, NULL, profile); diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h index e634c89..cfd430c 100644 --- a/chrome/browser/ui/views/frame/browser_view.h +++ b/chrome/browser/ui/views/frame/browser_view.h @@ -262,7 +262,7 @@ class BrowserView : public BrowserWindow, virtual bool IsPanel() const OVERRIDE; virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; virtual void DisableInactiveFrame() OVERRIDE; - virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, + virtual void ConfirmAddSearchProvider(TemplateURL* template_url, Profile* profile) OVERRIDE; virtual void ToggleBookmarkBar() OVERRIDE; virtual void ShowAboutChromeDialog() OVERRIDE; |
