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 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" | 16 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" |
17 #include "chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h" | 17 #include "chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h" |
18 #include "chrome/browser/ui/intents/web_intent_picker.h" | 18 #include "chrome/browser/ui/intents/web_intent_picker.h" |
19 #include "chrome/browser/ui/intents/web_intent_picker_model_observer.h" | 19 #include "chrome/browser/ui/intents/web_intent_picker_model_observer.h" |
20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
22 #include "ui/base/gtk/gtk_signal.h" | 22 #include "ui/base/gtk/gtk_signal.h" |
23 #include "ui/base/gtk/owned_widget_gtk.h" | 23 #include "ui/base/gtk/owned_widget_gtk.h" |
24 | 24 |
25 class Browser; | 25 class Browser; |
26 class CustomDrawButton; | 26 class CustomDrawButton; |
27 class GURL; | 27 class GURL; |
28 class TabContents; | |
29 class TabContentsContainerGtk; | 28 class TabContentsContainerGtk; |
30 class TabContentsWrapper; | 29 class TabContentsWrapper; |
31 class WebIntentPickerDelegate; | 30 class WebIntentPickerDelegate; |
32 | 31 |
33 // Gtk implementation of WebIntentPicker. | 32 // Gtk implementation of WebIntentPicker. |
34 class WebIntentPickerGtk : public WebIntentPicker, | 33 class WebIntentPickerGtk : public WebIntentPicker, |
35 public WebIntentPickerModelObserver, | 34 public WebIntentPickerModelObserver, |
36 public ConstrainedWindowGtkDelegate, | 35 public ConstrainedWindowGtkDelegate, |
37 public content::NotificationObserver { | 36 public content::NotificationObserver { |
38 public: | 37 public: |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 138 |
140 // content::WebContentsDelegate for the inline disposition dialog. | 139 // content::WebContentsDelegate for the inline disposition dialog. |
141 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; | 140 scoped_ptr<WebIntentInlineDispositionDelegate> inline_disposition_delegate_; |
142 | 141 |
143 content::NotificationRegistrar registrar_; | 142 content::NotificationRegistrar registrar_; |
144 | 143 |
145 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); | 144 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerGtk); |
146 }; | 145 }; |
147 | 146 |
148 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ | 147 #endif // CHROME_BROWSER_UI_GTK_WEB_INTENT_PICKER_GTK_H_ |
OLD | NEW |