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

Side by Side Diff: webkit/port/platform/chromium/PopupMenuChromium.h

Issue 11801: Wrap MSVC-specific pragmas. As -Wunknown-pragmas has been disabled for wtf,... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 PopupMenuChromium_h 5 #ifndef PopupMenuChromium_h
6 #define PopupMenuChromium_h 6 #define PopupMenuChromium_h
7 7
8 #pragma warning(push, 0) 8 #include "config.h"
9
10 #if COMPILER(MSVC)
11 __pragma(warning(push, 0))
12 #endif
9 #include "PopupMenuClient.h" 13 #include "PopupMenuClient.h"
10 14
11 #include "FramelessScrollView.h" 15 #include "FramelessScrollView.h"
12 #include "IntRect.h" 16 #include "IntRect.h"
13 #pragma warning(pop) 17 #if COMPILER(MSVC)
18 __pragma(warning(pop))
19 #endif
14 20
15 21
16 namespace WebCore { 22 namespace WebCore {
17 23
18 class PopupListBox; 24 class PopupListBox;
19 25
20 // TODO(darin): Our FramelessScrollView classes need to implement HostWindow! 26 // TODO(darin): Our FramelessScrollView classes need to implement HostWindow!
21 27
22 // This class holds a PopupListBox (see cpp file). Its sole purpose is to be 28 // This class holds a PopupListBox (see cpp file). Its sole purpose is to be
23 // able to draw a border around its child. All its paint/event handling is just 29 // able to draw a border around its child. All its paint/event handling is just
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 83
78 RefPtr<PopupListBox> m_listBox; 84 RefPtr<PopupListBox> m_listBox;
79 85
80 // Whether the window showing this popup should be focused when shown. 86 // Whether the window showing this popup should be focused when shown.
81 bool m_focusOnShow; 87 bool m_focusOnShow;
82 }; 88 };
83 89
84 } 90 }
85 91
86 #endif // PopupMenuChromium_h 92 #endif // PopupMenuChromium_h
OLDNEW
« no previous file with comments | « webkit/port/platform/chromium/FileChooserChromium.cpp ('k') | webkit/port/platform/chromium/PopupMenuChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698