| 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 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // WebIntentPickerModelObserver implementation. | 50 // WebIntentPickerModelObserver implementation. |
| 51 virtual void OnModelChanged(WebIntentPickerModel* model) OVERRIDE; | 51 virtual void OnModelChanged(WebIntentPickerModel* model) OVERRIDE; |
| 52 virtual void OnFaviconChanged(WebIntentPickerModel* model, | 52 virtual void OnFaviconChanged(WebIntentPickerModel* model, |
| 53 size_t index) OVERRIDE; | 53 size_t index) OVERRIDE; |
| 54 virtual void OnExtensionIconChanged(WebIntentPickerModel* model, | 54 virtual void OnExtensionIconChanged(WebIntentPickerModel* model, |
| 55 const std::string& extension_id) OVERRIDE; | 55 const std::string& extension_id) OVERRIDE; |
| 56 virtual void OnInlineDisposition(const string16& title, | 56 virtual void OnInlineDisposition(const string16& title, |
| 57 const GURL& url) OVERRIDE; | 57 const GURL& url) OVERRIDE; |
| 58 | 58 |
| 59 virtual void OnPendingAsyncCompleted() OVERRIDE; | 59 virtual void OnPendingAsyncCompleted() OVERRIDE; |
| 60 virtual void InvalidateDelegate() OVERRIDE; |
| 60 | 61 |
| 61 // ConstrainedWindowGtkDelegate implementation. | 62 // ConstrainedWindowGtkDelegate implementation. |
| 62 virtual GtkWidget* GetWidgetRoot() OVERRIDE; | 63 virtual GtkWidget* GetWidgetRoot() OVERRIDE; |
| 63 virtual GtkWidget* GetFocusWidget() OVERRIDE; | 64 virtual GtkWidget* GetFocusWidget() OVERRIDE; |
| 64 virtual void DeleteDelegate() OVERRIDE; | 65 virtual void DeleteDelegate() OVERRIDE; |
| 65 virtual bool GetBackgroundColor(GdkColor* color) OVERRIDE; | 66 virtual bool GetBackgroundColor(GdkColor* color) OVERRIDE; |
| 66 virtual bool ShouldHaveBorderPadding() const OVERRIDE; | 67 virtual bool ShouldHaveBorderPadding() const OVERRIDE; |
| 67 | 68 |
| 68 // content::NotificationObserver implementation. | 69 // content::NotificationObserver implementation. |
| 69 virtual void Observe(int type, | 70 virtual void Observe(int type, |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 177 |
| 177 // content::WebContentsDelegate for the inline disposition dialog. | 178 // content::WebContentsDelegate for the inline disposition dialog. |
| 178 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; | 179 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; |
| 179 | 180 |
| 180 content::NotificationRegistrar registrar_; | 181 content::NotificationRegistrar registrar_; |
| 181 | 182 |
| 182 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); | 183 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); |
| 183 }; | 184 }; |
| 184 | 185 |
| 185 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ | 186 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ |
| OLD | NEW |