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

Side by Side Diff: Source/web/WebPopupMenuImpl.h

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 5 years, 10 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
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebPopupMenuImpl.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 /* 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 protected: 103 protected:
104 friend class WebPopupMenu; // For WebPopupMenu::create. 104 friend class WebPopupMenu; // For WebPopupMenu::create.
105 friend class WTF::RefCounted<WebPopupMenuImpl>; 105 friend class WTF::RefCounted<WebPopupMenuImpl>;
106 106
107 explicit WebPopupMenuImpl(WebWidgetClient*); 107 explicit WebPopupMenuImpl(WebWidgetClient*);
108 ~WebPopupMenuImpl(); 108 ~WebPopupMenuImpl();
109 109
110 // HostWindow methods: 110 // HostWindow methods:
111 virtual void invalidateRect(const IntRect&) override final; 111 virtual void invalidateRect(const IntRect&) override final;
112 virtual void scheduleAnimation() override final; 112 virtual void scheduleAnimation() override final;
113 virtual IntRect rootViewToScreen(const IntRect&) const override final; 113 virtual IntRect viewportToScreen(const IntRect&) const override final;
114 virtual WebScreenInfo screenInfo() const override final; 114 virtual WebScreenInfo screenInfo() const override final;
115 115
116 // PopupContainerClient methods: 116 // PopupContainerClient methods:
117 virtual void popupClosed(PopupContainer*) override final; 117 virtual void popupClosed(PopupContainer*) override final;
118 void invalidateDisplayItemClient(DisplayItemClient) override final; 118 void invalidateDisplayItemClient(DisplayItemClient) override final;
119 void invalidateAllDisplayItems() override final; 119 void invalidateAllDisplayItems() override final;
120 120
121 DisplayItemList* displayItemList(); 121 DisplayItemList* displayItemList();
122 122
123 WebWidgetClient* m_client; 123 WebWidgetClient* m_client;
(...skipping 12 matching lines...) Expand all
136 }; 136 };
137 137
138 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi dget.isPopupMenu()); 138 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi dget.isPopupMenu());
139 // WebPopupMenuImpl is the only implementation of PopupContainerClient, so 139 // WebPopupMenuImpl is the only implementation of PopupContainerClient, so
140 // no need for further checking. 140 // no need for further checking.
141 DEFINE_TYPE_CASTS(WebPopupMenuImpl, PopupContainerClient, client, true, true); 141 DEFINE_TYPE_CASTS(WebPopupMenuImpl, PopupContainerClient, client, true, true);
142 142
143 } // namespace blink 143 } // namespace blink
144 144
145 #endif 145 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebPopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698