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

Side by Side Diff: Source/WebCore/platform/ContextMenu.h

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 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
« no previous file with comments | « Source/WebCore/page/Settings.cpp ('k') | Source/WebCore/platform/ContextMenuItem.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 #endif // USE(CROSS_PLATFORM_CONTEXT_MENUS) 85 #endif // USE(CROSS_PLATFORM_CONTEXT_MENUS)
86 86
87 private: 87 private:
88 #if USE(CROSS_PLATFORM_CONTEXT_MENUS) 88 #if USE(CROSS_PLATFORM_CONTEXT_MENUS)
89 Vector<ContextMenuItem> m_items; 89 Vector<ContextMenuItem> m_items;
90 #else 90 #else
91 #if PLATFORM(MAC) 91 #if PLATFORM(MAC)
92 // Keep this in sync with the PlatformMenuDescription typedef 92 // Keep this in sync with the PlatformMenuDescription typedef
93 RetainPtr<NSMutableArray> m_platformDescription; 93 RetainPtr<NSMutableArray> m_platformDescription;
94 #elif PLATFORM(QT)
95 QList<ContextMenuItem> m_items;
96 #elif PLATFORM(CHROMIUM) 94 #elif PLATFORM(CHROMIUM)
97 Vector<ContextMenuItem> m_items; 95 Vector<ContextMenuItem> m_items;
98 #else 96 #else
99 PlatformMenuDescription m_platformDescription; 97 PlatformMenuDescription m_platformDescription;
100 #if OS(WINCE) 98 #if OS(WINCE)
101 unsigned m_itemCount; 99 unsigned m_itemCount;
102 #endif 100 #endif
103 #endif 101 #endif
104 102
105 #endif // USE(CROSS_PLATFORM_CONTEXT_MENUS) 103 #endif // USE(CROSS_PLATFORM_CONTEXT_MENUS)
106 }; 104 };
107 105
108 #if !USE(CROSS_PLATFORM_CONTEXT_MENUS) 106 #if !USE(CROSS_PLATFORM_CONTEXT_MENUS)
109 Vector<ContextMenuItem> contextMenuItemVector(PlatformMenuDescription); 107 Vector<ContextMenuItem> contextMenuItemVector(PlatformMenuDescription);
110 PlatformMenuDescription platformMenuDescription(Vector<ContextMenuItem>&); 108 PlatformMenuDescription platformMenuDescription(Vector<ContextMenuItem>&);
111 #endif 109 #endif
112 110
113 } 111 }
114 112
115 #endif // ENABLE(CONTEXT_MENUS) 113 #endif // ENABLE(CONTEXT_MENUS)
116 #endif // ContextMenu_h 114 #endif // ContextMenu_h
OLDNEW
« no previous file with comments | « Source/WebCore/page/Settings.cpp ('k') | Source/WebCore/platform/ContextMenuItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698