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

Side by Side Diff: third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.h

Issue 16445: Fix bad include of PopupMenuChromium.h... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 12 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 | « no previous file | third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "config.h" 8 #include "config.h"
9
10 #if COMPILER(MSVC)
11 __pragma(warning(push, 0))
12 #endif
13 #include "PopupMenuClient.h" 9 #include "PopupMenuClient.h"
14 10
15 #include "FramelessScrollView.h" 11 #include "FramelessScrollView.h"
16 #include "IntRect.h" 12 #include "IntRect.h"
17 #if COMPILER(MSVC)
18 __pragma(warning(pop))
19 #endif
20
21 13
22 namespace WebCore { 14 namespace WebCore {
23 15
16 class FrameView;
24 class PopupListBox; 17 class PopupListBox;
25 18
26 // TODO(darin): Our FramelessScrollView classes need to implement HostWindow! 19 // TODO(darin): Our FramelessScrollView classes need to implement HostWindow!
27 20
28 // This class holds a PopupListBox (see cpp file). Its sole purpose is to be 21 // This class holds a PopupListBox (see cpp file). Its sole purpose is to be
29 // able to draw a border around its child. All its paint/event handling is just 22 // able to draw a border around its child. All its paint/event handling is just
30 // forwarded to the child listBox (with the appropriate transforms). 23 // forwarded to the child listBox (with the appropriate transforms).
31 // NOTE: this class is exposed so it can be instantiated direcly for the 24 // NOTE: this class is exposed so it can be instantiated direcly for the
32 // autofill popup. We cannot use the Popup class directly in that case as the 25 // autofill popup. We cannot use the Popup class directly in that case as the
33 // autofill popup should not be focused when shown and we want to forward the 26 // autofill popup should not be focused when shown and we want to forward the
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 86
94 RefPtr<PopupListBox> m_listBox; 87 RefPtr<PopupListBox> m_listBox;
95 88
96 // Whether the window showing this popup should be focused when shown. 89 // Whether the window showing this popup should be focused when shown.
97 bool m_focusOnShow; 90 bool m_focusOnShow;
98 }; 91 };
99 92
100 } 93 }
101 94
102 #endif // PopupMenuChromium_h 95 #endif // PopupMenuChromium_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/platform/chromium/PopupMenuChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698