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

Side by Side Diff: Source/web/WebPluginContainerImpl.cpp

Issue 23464095: WTF::notFound looks too much like a local variable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « Source/web/WebPageSerializer.cpp ('k') | Source/web/painting/ContinuousPainter.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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 } 595 }
596 596
597 bool WebPluginContainerImpl::wantsWheelEvents() 597 bool WebPluginContainerImpl::wantsWheelEvents()
598 { 598 {
599 return m_wantsWheelEvents; 599 return m_wantsWheelEvents;
600 } 600 }
601 601
602 void WebPluginContainerImpl::willDestroyPluginLoadObserver(WebPluginLoadObserver * observer) 602 void WebPluginContainerImpl::willDestroyPluginLoadObserver(WebPluginLoadObserver * observer)
603 { 603 {
604 size_t pos = m_pluginLoadObservers.find(observer); 604 size_t pos = m_pluginLoadObservers.find(observer);
605 if (pos == notFound) 605 if (pos == kNotFound)
606 return; 606 return;
607 m_pluginLoadObservers.remove(pos); 607 m_pluginLoadObservers.remove(pos);
608 } 608 }
609 609
610 ScrollbarGroup* WebPluginContainerImpl::scrollbarGroup() 610 ScrollbarGroup* WebPluginContainerImpl::scrollbarGroup()
611 { 611 {
612 if (!m_scrollbarGroup) 612 if (!m_scrollbarGroup)
613 m_scrollbarGroup = adoptPtr(new ScrollbarGroup(m_element->document().fra me()->view(), frameRect())); 613 m_scrollbarGroup = adoptPtr(new ScrollbarGroup(m_element->document().fra me()->view(), frameRect()));
614 return m_scrollbarGroup.get(); 614 return m_scrollbarGroup.get();
615 } 615 }
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 // Take our element and get the clip rect from the enclosing layer and 892 // Take our element and get the clip rect from the enclosing layer and
893 // frame view. 893 // frame view.
894 clipRect.intersect( 894 clipRect.intersect(
895 m_element->document().view()->windowClipRectForFrameOwner(m_element, true)); 895 m_element->document().view()->windowClipRectForFrameOwner(m_element, true));
896 } 896 }
897 897
898 return clipRect; 898 return clipRect;
899 } 899 }
900 900
901 } // namespace WebKit 901 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/painting/ContinuousPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698