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/extensions/extension_popup_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_EXTENSIONS_EXTENSION_POPUP_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_POPUP_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_POPUP_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_POPUP_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 17 matching lines...) Expand all
28 GtkWidget* anchor, 28 GtkWidget* anchor,
29 bool inspect); 29 bool inspect);
30 virtual ~ExtensionPopupGtk(); 30 virtual ~ExtensionPopupGtk();
31 31
32 static void Show(const GURL& url, 32 static void Show(const GURL& url,
33 Browser* browser, 33 Browser* browser,
34 GtkWidget* anchor, 34 GtkWidget* anchor,
35 bool inspect); 35 bool inspect);
36 36
37 // NotificationObserver implementation. 37 // NotificationObserver implementation.
38 virtual void Observe(NotificationType type, 38 virtual void Observe(int type,
39 const NotificationSource& source, 39 const NotificationSource& source,
40 const NotificationDetails& details) OVERRIDE; 40 const NotificationDetails& details) OVERRIDE;
41 41
42 // BubbleDelegateGtk implementation. 42 // BubbleDelegateGtk implementation.
43 virtual void BubbleClosing(BubbleGtk* bubble, 43 virtual void BubbleClosing(BubbleGtk* bubble,
44 bool closed_by_escape) OVERRIDE; 44 bool closed_by_escape) OVERRIDE;
45 45
46 // ExtensionViewGtk::Container implementation. 46 // ExtensionViewGtk::Container implementation.
47 virtual void OnExtensionPreferredSizeChanged(ExtensionViewGtk* view, 47 virtual void OnExtensionPreferredSizeChanged(ExtensionViewGtk* view,
48 const gfx::Size& new_size); 48 const gfx::Size& new_size);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Used for testing. --------------------------------------------------------- 93 // Used for testing. ---------------------------------------------------------
94 gfx::Rect GetViewBounds(); 94 gfx::Rect GetViewBounds();
95 95
96 friend class BrowserActionTestUtil; 96 friend class BrowserActionTestUtil;
97 97
98 DISALLOW_COPY_AND_ASSIGN(ExtensionPopupGtk); 98 DISALLOW_COPY_AND_ASSIGN(ExtensionPopupGtk);
99 }; 99 };
100 100
101 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_POPUP_GTK_H_ 101 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_EXTENSION_POPUP_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698