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

Unified Diff: components/renderer_context_menu/render_view_context_menu_base.cc

Issue 1152983004: Move ObserverList to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/renderer_context_menu/render_view_context_menu_base.cc
diff --git a/components/renderer_context_menu/render_view_context_menu_base.cc b/components/renderer_context_menu/render_view_context_menu_base.cc
index 26efb960623480e98397963c4752dc6c3f1e6b48..db5f6e732d99e0a42ae2667d970be9e108243808 100644
--- a/components/renderer_context_menu/render_view_context_menu_base.cc
+++ b/components/renderer_context_menu/render_view_context_menu_base.cc
@@ -251,7 +251,8 @@ bool RenderViewContextMenuBase::IsCommandIdKnown(
bool* enabled) const {
// If this command is is added by one of our observers, we dispatch
// it to the observer.
- ObserverListBase<RenderViewContextMenuObserver>::Iterator it(&observers_);
+ base::ObserverListBase<RenderViewContextMenuObserver>::Iterator it(
+ &observers_);
RenderViewContextMenuObserver* observer;
while ((observer = it.GetNext()) != NULL) {
if (observer->IsCommandIdSupported(id)) {
@@ -274,7 +275,8 @@ bool RenderViewContextMenuBase::IsCommandIdKnown(
bool RenderViewContextMenuBase::IsCommandIdChecked(int id) const {
// If this command is is added by one of our observers, we dispatch it to the
// observer.
- ObserverListBase<RenderViewContextMenuObserver>::Iterator it(&observers_);
+ base::ObserverListBase<RenderViewContextMenuObserver>::Iterator it(
+ &observers_);
RenderViewContextMenuObserver* observer;
while ((observer = it.GetNext()) != NULL) {
if (observer->IsCommandIdSupported(id))
@@ -294,7 +296,8 @@ void RenderViewContextMenuBase::ExecuteCommand(int id, int event_flags) {
// If this command is is added by one of our observers, we dispatch
// it to the observer.
- ObserverListBase<RenderViewContextMenuObserver>::Iterator it(&observers_);
+ base::ObserverListBase<RenderViewContextMenuObserver>::Iterator it(
+ &observers_);
RenderViewContextMenuObserver* observer;
while ((observer = it.GetNext()) != NULL) {
if (observer->IsCommandIdSupported(id))
« no previous file with comments | « chrome/browser/extensions/extension_toolbar_model.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698