Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: chrome/browser/ui/gtk/web_intent_picker_gtk.h

Issue 9430025: [Web Intents] WebIntentsPickerController will now fetch icon for suggested extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/web_intent_picker_cocoa.mm ('k') | chrome/browser/ui/gtk/web_intent_picker_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698