| 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 #ifndef CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 // WebIntentPicker implementation. | 45 // WebIntentPicker implementation. |
| 46 virtual void Close() OVERRIDE; | 46 virtual void Close() OVERRIDE; |
| 47 | 47 |
| 48 // WebIntentPickerModelObserver implementation. | 48 // WebIntentPickerModelObserver implementation. |
| 49 virtual void OnModelChanged(WebIntentPickerModel* model) OVERRIDE; | 49 virtual void OnModelChanged(WebIntentPickerModel* model) OVERRIDE; |
| 50 virtual void OnFaviconChanged(WebIntentPickerModel* model, | 50 virtual void OnFaviconChanged(WebIntentPickerModel* model, |
| 51 size_t index) OVERRIDE; | 51 size_t index) OVERRIDE; |
| 52 virtual void OnExtensionIconChanged(WebIntentPickerModel* model, | 52 virtual void OnExtensionIconChanged(WebIntentPickerModel* model, |
| 53 const string16& extension_id) OVERRIDE; | 53 const string16& extension_id) OVERRIDE; |
| 54 virtual void OnInlineDisposition(WebIntentPickerModel* model) OVERRIDE; | 54 virtual void OnInlineDisposition(WebIntentPickerModel* model, |
| 55 const GURL& url) OVERRIDE; |
| 55 | 56 |
| 56 // ConstrainedWindowGtkDelegate implementation. | 57 // ConstrainedWindowGtkDelegate implementation. |
| 57 virtual GtkWidget* GetWidgetRoot() OVERRIDE; | 58 virtual GtkWidget* GetWidgetRoot() OVERRIDE; |
| 58 virtual GtkWidget* GetFocusWidget() OVERRIDE; | 59 virtual GtkWidget* GetFocusWidget() OVERRIDE; |
| 59 virtual void DeleteDelegate() OVERRIDE; | 60 virtual void DeleteDelegate() OVERRIDE; |
| 60 | 61 |
| 61 // content::NotificationObserver implementation. | 62 // content::NotificationObserver implementation. |
| 62 virtual void Observe(int type, | 63 virtual void Observe(int type, |
| 63 const content::NotificationSource& source, | 64 const content::NotificationSource& source, |
| 64 const content::NotificationDetails& details) OVERRIDE; | 65 const content::NotificationDetails& details) OVERRIDE; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 139 |
| 139 // content::WebContentsDelegate for the inline disposition dialog. | 140 // content::WebContentsDelegate for the inline disposition dialog. |
| 140 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; | 141 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; |
| 141 | 142 |
| 142 content::NotificationRegistrar registrar_; | 143 content::NotificationRegistrar registrar_; |
| 143 | 144 |
| 144 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); | 145 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); |
| 145 }; | 146 }; |
| 146 | 147 |
| 147 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ | 148 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ |
| OLD | NEW |