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

Side by Side Diff: Source/WebKit/chromium/src/WebPopupMenuImpl.h

Issue 13851023: Remove ChromeClient cruft (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 7 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 bool handleKeyEvent(const WebKeyboardEvent&); 106 bool handleKeyEvent(const WebKeyboardEvent&);
107 107
108 protected: 108 protected:
109 friend class WebPopupMenu; // For WebPopupMenu::create. 109 friend class WebPopupMenu; // For WebPopupMenu::create.
110 friend class WTF::RefCounted<WebPopupMenuImpl>; 110 friend class WTF::RefCounted<WebPopupMenuImpl>;
111 111
112 WebPopupMenuImpl(WebWidgetClient*); 112 WebPopupMenuImpl(WebWidgetClient*);
113 ~WebPopupMenuImpl(); 113 ~WebPopupMenuImpl();
114 114
115 // WebCore::HostWindow methods: 115 // WebCore::HostWindow methods:
116 virtual void invalidateRootView(const WebCore::IntRect&) OVERRIDE;
117 virtual void invalidateContentsAndRootView(const WebCore::IntRect&) OVERRIDE ; 116 virtual void invalidateContentsAndRootView(const WebCore::IntRect&) OVERRIDE ;
118 virtual void invalidateContentsForSlowScroll(const WebCore::IntRect&) OVERRI DE; 117 virtual void invalidateContentsForSlowScroll(const WebCore::IntRect&) OVERRI DE;
119 virtual void scheduleAnimation() OVERRIDE; 118 virtual void scheduleAnimation() OVERRIDE;
120 virtual void scroll( 119 virtual void scroll(
121 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& scrollRect, 120 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& scrollRect,
122 const WebCore::IntRect& clipRect) OVERRIDE; 121 const WebCore::IntRect& clipRect) OVERRIDE;
123 virtual WebCore::IntPoint screenToRootView(const WebCore::IntPoint&) const O VERRIDE; 122 virtual WebCore::IntPoint screenToRootView(const WebCore::IntPoint&) const O VERRIDE;
124 virtual WebCore::IntRect rootViewToScreen(const WebCore::IntRect&) const OVE RRIDE; 123 virtual WebCore::IntRect rootViewToScreen(const WebCore::IntRect&) const OVE RRIDE;
125 virtual PlatformPageClient platformPageClient() const OVERRIDE { return 0; } 124 virtual PlatformPageClient platformPageClient() const OVERRIDE { return 0; }
126 virtual void scrollbarsModeDidChange() const OVERRIDE; 125 virtual void scrollbarsModeDidChange() const OVERRIDE;
127 virtual void setCursor(const WebCore::Cursor&) OVERRIDE; 126 virtual void setCursor(const WebCore::Cursor&) OVERRIDE;
128 virtual void setCursorHiddenUntilMouseMoves(bool) OVERRIDE; 127 virtual void setCursorHiddenUntilMouseMoves(bool) OVERRIDE;
129 128
130 // WebCore::FramelessScrollViewClient methods: 129 // WebCore::FramelessScrollViewClient methods:
131 virtual void popupClosed(WebCore::FramelessScrollView*) OVERRIDE; 130 virtual void popupClosed(WebCore::FramelessScrollView*) OVERRIDE;
132 131
133 WebWidgetClient* m_client; 132 WebWidgetClient* m_client;
134 WebSize m_size; 133 WebSize m_size;
135 134
136 WebPoint m_lastMousePosition; 135 WebPoint m_lastMousePosition;
137 136
138 // This is a non-owning ref. The popup will notify us via popupClosed() 137 // This is a non-owning ref. The popup will notify us via popupClosed()
139 // before it is destroyed. 138 // before it is destroyed.
140 WebCore::FramelessScrollView* m_widget; 139 WebCore::FramelessScrollView* m_widget;
141 }; 140 };
142 141
143 } // namespace WebKit 142 } // namespace WebKit
144 143
145 #endif 144 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/ChromeClientImpl.cpp ('k') | Source/WebKit/chromium/src/WebPopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698