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

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

Issue 9649020: [Web Intents] WebIntentPickerModel uses URL instead of index to reference registered services. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac fix Created 8 years, 9 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/web_intent_sheet_controller_unittest.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