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

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

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_WEBSITE_SETTINGS_POPUP_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_POPUP_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_POPUP_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_POPUP_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/website_settings_ui.h" 9 #include "chrome/browser/ui/website_settings_ui.h"
10 10
11 #include <gtk/gtk.h> 11 #include <gtk/gtk.h>
12 12
13 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h" 13 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h"
14 14
15 class Browser; 15 class Browser;
16 class BubbleGtk; 16 class BubbleGtk;
17 class GtkThemeService; 17 class GtkThemeService;
18 class Profile; 18 class Profile;
19 class TabContentsWrapper; 19 class TabContents;
20 typedef TabContents TabContentsWrapper;
20 class WebsiteSettings; 21 class WebsiteSettings;
21 22
22 // GTK implementation of the website settings UI. The website settings UI is 23 // GTK implementation of the website settings UI. The website settings UI is
23 // displayed in a popup that is positioned relative the an anchor element. 24 // displayed in a popup that is positioned relative the an anchor element.
24 class WebsiteSettingsPopupGtk : public WebsiteSettingsUI, 25 class WebsiteSettingsPopupGtk : public WebsiteSettingsUI,
25 public BubbleDelegateGtk { 26 public BubbleDelegateGtk {
26 public: 27 public:
27 WebsiteSettingsPopupGtk(gfx::NativeWindow parent, 28 WebsiteSettingsPopupGtk(gfx::NativeWindow parent,
28 Profile* profile, 29 Profile* profile,
29 TabContentsWrapper* wrapper); 30 TabContentsWrapper* wrapper);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 GtkWidget* first_visit_contents_; 108 GtkWidget* first_visit_contents_;
108 109
109 // The UI translates user actions to specific events and forwards them to the 110 // The UI translates user actions to specific events and forwards them to the
110 // |presenter_|. The |presenter_| handles these events and updates the UI. 111 // |presenter_|. The |presenter_| handles these events and updates the UI.
111 WebsiteSettings* presenter_; 112 WebsiteSettings* presenter_;
112 113
113 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupGtk); 114 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupGtk);
114 }; 115 };
115 116
116 #endif // CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_POPUP_GTK_H_ 117 #endif // CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_POPUP_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/web_intent_picker_gtk.h ('k') | chrome/browser/ui/intents/web_intent_picker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698