| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ | 6 #define CHROME_BROWSER_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ |
| 7 | 7 |
| 8 #include <string> |
| 9 |
| 8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 9 #include "base/task.h" | 11 #include "base/task.h" |
| 10 #include "chrome/browser/history/history.h" | 12 #include "chrome/browser/history/history.h" |
| 11 #include "chrome/common/gtk_tree.h" | 13 #include "chrome/common/gtk_tree.h" |
| 12 | 14 |
| 13 class GURL; | 15 class GURL; |
| 14 class Profile; | 16 class Profile; |
| 15 class PossibleURLModel; | 17 class PossibleURLModel; |
| 16 | 18 |
| 17 class UrlPickerDialogGtk : public gtk_tree::ModelAdapter::Delegate { | 19 class UrlPickerDialogGtk : public gtk_tree::ModelAdapter::Delegate { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 scoped_ptr<PossibleURLModel> url_table_model_; | 89 scoped_ptr<PossibleURLModel> url_table_model_; |
| 88 scoped_ptr<gtk_tree::ModelAdapter> url_table_adapter_; | 90 scoped_ptr<gtk_tree::ModelAdapter> url_table_adapter_; |
| 89 | 91 |
| 90 // Called if the user selects an url. | 92 // Called if the user selects an url. |
| 91 UrlPickerCallback* callback_; | 93 UrlPickerCallback* callback_; |
| 92 | 94 |
| 93 DISALLOW_COPY_AND_ASSIGN(UrlPickerDialogGtk); | 95 DISALLOW_COPY_AND_ASSIGN(UrlPickerDialogGtk); |
| 94 }; | 96 }; |
| 95 | 97 |
| 96 #endif // CHROME_BROWSER_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ | 98 #endif // CHROME_BROWSER_GTK_OPTIONS_URL_PICKER_DIALOG_GTK_H_ |
| OLD | NEW |