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/tab_contents/popup_menu_helper_mac.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_TAB_CONTENTS_POPUP_MENU_HELPER_MAC_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_POPUP_MENU_HELPER_MAC_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_POPUP_MENU_HELPER_MAC_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_POPUP_MENU_HELPER_MAC_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/common/notification_observer.h" 10 #include "content/common/notification_observer.h"
(...skipping 14 matching lines...) Expand all
25 // This call is blocking. 25 // This call is blocking.
26 void ShowPopupMenu(const gfx::Rect& bounds, 26 void ShowPopupMenu(const gfx::Rect& bounds,
27 int item_height, 27 int item_height,
28 double item_font_size, 28 double item_font_size,
29 int selected_item, 29 int selected_item,
30 const std::vector<WebMenuItem>& items, 30 const std::vector<WebMenuItem>& items,
31 bool right_aligned); 31 bool right_aligned);
32 32
33 private: 33 private:
34 // NotificationObserver implementation: 34 // NotificationObserver implementation:
35 virtual void Observe(NotificationType type, 35 virtual void Observe(int type,
36 const NotificationSource& source, 36 const NotificationSource& source,
37 const NotificationDetails& details); 37 const NotificationDetails& details);
38 38
39 NotificationRegistrar notification_registrar_; 39 NotificationRegistrar notification_registrar_;
40 40
41 RenderViewHost* render_view_host_; 41 RenderViewHost* render_view_host_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(PopupMenuHelper); 43 DISALLOW_COPY_AND_ASSIGN(PopupMenuHelper);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_TAB_CONTENTS_POPUP_MENU_HELPER_MAC_H_ 46 #endif // CHROME_BROWSER_TAB_CONTENTS_POPUP_MENU_HELPER_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/infobar_container.cc ('k') | chrome/browser/tab_contents/popup_menu_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698