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

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

Issue 132043002: Rename WebCore::ScrollBehavior to ScrollAlignmentBehavior (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and fix another #inlcude Created 6 years, 11 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/core/rendering/ScrollBehavior.cpp ('k') | no next file » | 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 27 matching lines...) Expand all
38 #include "WebViewClient.h" 38 #include "WebViewClient.h"
39 #include "WebViewImpl.h" 39 #include "WebViewImpl.h"
40 #include "core/dom/DocumentMarker.h" 40 #include "core/dom/DocumentMarker.h"
41 #include "core/dom/DocumentMarkerController.h" 41 #include "core/dom/DocumentMarkerController.h"
42 #include "core/dom/Range.h" 42 #include "core/dom/Range.h"
43 #include "core/dom/shadow/ShadowRoot.h" 43 #include "core/dom/shadow/ShadowRoot.h"
44 #include "core/editing/Editor.h" 44 #include "core/editing/Editor.h"
45 #include "core/editing/TextIterator.h" 45 #include "core/editing/TextIterator.h"
46 #include "core/editing/VisibleSelection.h" 46 #include "core/editing/VisibleSelection.h"
47 #include "core/frame/FrameView.h" 47 #include "core/frame/FrameView.h"
48 #include "core/rendering/ScrollBehavior.h" 48 #include "core/rendering/ScrollAlignment.h"
49 #include "platform/Timer.h" 49 #include "platform/Timer.h"
50 #include "public/platform/WebVector.h" 50 #include "public/platform/WebVector.h"
51 #include "wtf/CurrentTime.h" 51 #include "wtf/CurrentTime.h"
52 52
53 using namespace WebCore; 53 using namespace WebCore;
54 54
55 namespace blink { 55 namespace blink {
56 56
57 TextFinder::FindMatch::FindMatch(PassRefPtr<Range> range, int ordinal) 57 TextFinder::FindMatch::FindMatch(PassRefPtr<Range> range, int ordinal)
58 : m_range(range) 58 : m_range(range)
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 if (!m_framesScopingCount) 753 if (!m_framesScopingCount)
754 m_ownerFrame.increaseMatchCount(0, identifier); 754 m_ownerFrame.increaseMatchCount(0, identifier);
755 } 755 }
756 756
757 int TextFinder::ordinalOfFirstMatch() const 757 int TextFinder::ordinalOfFirstMatch() const
758 { 758 {
759 return ordinalOfFirstMatchForFrame(&m_ownerFrame); 759 return ordinalOfFirstMatchForFrame(&m_ownerFrame);
760 } 760 }
761 761
762 } // namespace blink 762 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/ScrollBehavior.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698