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

Side by Side Diff: Source/core/rendering/RenderSearchField.cpp

Issue 14488003: Absolutify paths to platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: scripts, iwyu Created 7 years, 8 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/RenderSearchField.h ('k') | Source/core/rendering/RenderTextControl.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) 2006, 2007, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2010 Apple Inc. All rights reserved.
3 * (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * Copyright (C) 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2010 Google Inc. All rights reserved.
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 15 matching lines...) Expand all
26 26
27 #include "CSSFontSelector.h" 27 #include "CSSFontSelector.h"
28 #include "CSSValueKeywords.h" 28 #include "CSSValueKeywords.h"
29 #include "Chrome.h" 29 #include "Chrome.h"
30 #include "Frame.h" 30 #include "Frame.h"
31 #include "FrameSelection.h" 31 #include "FrameSelection.h"
32 #include "FrameView.h" 32 #include "FrameView.h"
33 #include "HTMLInputElement.h" 33 #include "HTMLInputElement.h"
34 #include "HTMLNames.h" 34 #include "HTMLNames.h"
35 #include "HitTestResult.h" 35 #include "HitTestResult.h"
36 #include "LocalizedStrings.h"
37 #include "Page.h" 36 #include "Page.h"
38 #include "PlatformKeyboardEvent.h"
39 #include "RenderLayer.h" 37 #include "RenderLayer.h"
40 #include "RenderScrollbar.h" 38 #include "RenderScrollbar.h"
41 #include "RenderTheme.h" 39 #include "RenderTheme.h"
42 #include "SearchPopupMenu.h"
43 #include "Settings.h" 40 #include "Settings.h"
44 #include "StyleResolver.h" 41 #include "StyleResolver.h"
45 #include "TextControlInnerElements.h" 42 #include "TextControlInnerElements.h"
43 #include "core/platform/LocalizedStrings.h"
44 #include "core/platform/PlatformKeyboardEvent.h"
45 #include "core/platform/SearchPopupMenu.h"
46 #include "core/platform/graphics/SimpleFontData.h" 46 #include "core/platform/graphics/SimpleFontData.h"
47 47
48 using namespace std; 48 using namespace std;
49 49
50 namespace WebCore { 50 namespace WebCore {
51 51
52 using namespace HTMLNames; 52 using namespace HTMLNames;
53 53
54 // ---------------------------- 54 // ----------------------------
55 55
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 if (containerRenderer->logicalHeight() <= contentLogicalHeight()) 372 if (containerRenderer->logicalHeight() <= contentLogicalHeight())
373 return; 373 return;
374 374
375 // A quirk for find-in-page box on Safari Windows. 375 // A quirk for find-in-page box on Safari Windows.
376 // http://webkit.org/b/63157 376 // http://webkit.org/b/63157
377 LayoutUnit logicalHeightDiff = containerRenderer->logicalHeight() - contentL ogicalHeight(); 377 LayoutUnit logicalHeightDiff = containerRenderer->logicalHeight() - contentL ogicalHeight();
378 containerRenderer->setLogicalTop(containerRenderer->logicalTop() - (logicalH eightDiff / 2 + layoutMod(logicalHeightDiff, 2))); 378 containerRenderer->setLogicalTop(containerRenderer->logicalTop() - (logicalH eightDiff / 2 + layoutMod(logicalHeightDiff, 2)));
379 } 379 }
380 380
381 } 381 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderSearchField.h ('k') | Source/core/rendering/RenderTextControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698