| 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 28 matching lines...) Expand all Loading... |
| 39 WebIntentPickerModel* model); | 39 WebIntentPickerModel* model); |
| 40 virtual ~WebIntentPickerGtk(); | 40 virtual ~WebIntentPickerGtk(); |
| 41 | 41 |
| 42 // WebIntentPicker implementation. | 42 // WebIntentPicker implementation. |
| 43 virtual void Close() OVERRIDE; | 43 virtual void Close() OVERRIDE; |
| 44 | 44 |
| 45 // WebIntentPickerModelObserver implementation. | 45 // WebIntentPickerModelObserver implementation. |
| 46 virtual void OnModelChanged(WebIntentPickerModel* model) OVERRIDE; | 46 virtual void OnModelChanged(WebIntentPickerModel* model) OVERRIDE; |
| 47 virtual void OnFaviconChanged(WebIntentPickerModel* model, | 47 virtual void OnFaviconChanged(WebIntentPickerModel* model, |
| 48 size_t index) OVERRIDE; | 48 size_t index) OVERRIDE; |
| 49 virtual void OnExtensionIconChanged(WebIntentPickerModel* model, |
| 50 const string16& extension_id) OVERRIDE; |
| 49 virtual void OnInlineDisposition(WebIntentPickerModel* model) OVERRIDE; | 51 virtual void OnInlineDisposition(WebIntentPickerModel* model) OVERRIDE; |
| 50 | 52 |
| 51 // ConstrainedWindowGtkDelegate implementation. | 53 // ConstrainedWindowGtkDelegate implementation. |
| 52 virtual GtkWidget* GetWidgetRoot() OVERRIDE; | 54 virtual GtkWidget* GetWidgetRoot() OVERRIDE; |
| 53 virtual GtkWidget* GetFocusWidget() OVERRIDE; | 55 virtual GtkWidget* GetFocusWidget() OVERRIDE; |
| 54 virtual void DeleteDelegate() OVERRIDE; | 56 virtual void DeleteDelegate() OVERRIDE; |
| 55 | 57 |
| 56 private: | 58 private: |
| 57 // Callback when picker is destroyed. | 59 // Callback when picker is destroyed. |
| 58 CHROMEGTK_CALLBACK_0(WebIntentPickerGtk, void, OnDestroy); | 60 CHROMEGTK_CALLBACK_0(WebIntentPickerGtk, void, OnDestroy); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // Widget for displaying the HTML in the inline disposition case. | 103 // Widget for displaying the HTML in the inline disposition case. |
| 102 scoped_ptr<TabContentsContainerGtk> tab_contents_container_; | 104 scoped_ptr<TabContentsContainerGtk> tab_contents_container_; |
| 103 | 105 |
| 104 // content::WebContentsDelegate for the inline disposition dialog. | 106 // content::WebContentsDelegate for the inline disposition dialog. |
| 105 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; | 107 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; |
| 106 | 108 |
| 107 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); | 109 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); |
| 108 }; | 110 }; |
| 109 | 111 |
| 110 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ | 112 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ |
| OLD | NEW |