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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TAB_CONTENTS_CONTAINER_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_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 39
40 bool HasPreview() const { return preview_ != NULL; } 40 bool HasPreview() const { return preview_ != NULL; }
41 41
42 void SetPreview(TabContentsWrapper* preview); 42 void SetPreview(TabContentsWrapper* preview);
43 void PopPreview(); 43 void PopPreview();
44 44
45 // Remove the tab from the hierarchy. 45 // Remove the tab from the hierarchy.
46 void DetachTab(TabContentsWrapper* tab); 46 void DetachTab(TabContentsWrapper* tab);
47 47
48 // NotificationObserver implementation. 48 // NotificationObserver implementation.
49 virtual void Observe(NotificationType type, 49 virtual void Observe(int type,
50 const NotificationSource& source, 50 const NotificationSource& source,
51 const NotificationDetails& details); 51 const NotificationDetails& details);
52 52
53 GtkWidget* widget() { return floating_.get(); } 53 GtkWidget* widget() { return floating_.get(); }
54 54
55 // ViewIDUtil::Delegate implementation --------------------------------------- 55 // ViewIDUtil::Delegate implementation ---------------------------------------
56 virtual GtkWidget* GetWidgetForViewID(ViewID id); 56 virtual GtkWidget* GetWidgetForViewID(ViewID id);
57 57
58 private: 58 private:
59 // Called when a TabContents is destroyed. This gives us a chance to clean 59 // Called when a TabContents is destroyed. This gives us a chance to clean
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // We insert and remove TabContents GtkWidgets into this expanded_. This 103 // We insert and remove TabContents GtkWidgets into this expanded_. This
104 // should not be a GtkVBox since there were errors with timing where the vbox 104 // should not be a GtkVBox since there were errors with timing where the vbox
105 // was horizontally split with the top half displaying the current TabContents 105 // was horizontally split with the top half displaying the current TabContents
106 // and bottom half displaying the loading page. 106 // and bottom half displaying the loading page.
107 GtkWidget* expanded_; 107 GtkWidget* expanded_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk); 109 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk);
110 }; 110 };
111 111
112 #endif // CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ 112 #endif // CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/status_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/tab_contents_container_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698