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

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

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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/RenderTextControl.cpp ('k') | Source/core/rendering/RenderTheme.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 11 matching lines...) Expand all
22 */ 22 */
23 23
24 #include "config.h" 24 #include "config.h"
25 #include "core/rendering/RenderTextControlSingleLine.h" 25 #include "core/rendering/RenderTextControlSingleLine.h"
26 26
27 #include "CSSValueKeywords.h" 27 #include "CSSValueKeywords.h"
28 #include "core/dom/shadow/ShadowRoot.h" 28 #include "core/dom/shadow/ShadowRoot.h"
29 #include "core/editing/FrameSelection.h" 29 #include "core/editing/FrameSelection.h"
30 #include "core/html/shadow/ShadowElementNames.h" 30 #include "core/html/shadow/ShadowElementNames.h"
31 #include "core/frame/Frame.h" 31 #include "core/frame/Frame.h"
32 #include "core/platform/graphics/SimpleFontData.h"
33 #include "core/rendering/HitTestResult.h" 32 #include "core/rendering/HitTestResult.h"
34 #include "core/rendering/LayoutRectRecorder.h" 33 #include "core/rendering/LayoutRectRecorder.h"
35 #include "core/rendering/RenderLayer.h" 34 #include "core/rendering/RenderLayer.h"
36 #include "core/rendering/RenderTheme.h" 35 #include "core/rendering/RenderTheme.h"
37 #include "platform/PlatformKeyboardEvent.h" 36 #include "platform/PlatformKeyboardEvent.h"
37 #include "platform/fonts/SimpleFontData.h"
38 38
39 using namespace std; 39 using namespace std;
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 using namespace HTMLNames; 43 using namespace HTMLNames;
44 44
45 RenderTextControlSingleLine::RenderTextControlSingleLine(HTMLInputElement* eleme nt) 45 RenderTextControlSingleLine::RenderTextControlSingleLine(HTMLInputElement* eleme nt)
46 : RenderTextControl(element) 46 : RenderTextControl(element)
47 , m_shouldDrawCapsLockIndicator(false) 47 , m_shouldDrawCapsLockIndicator(false)
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 if (innerTextElement()) 430 if (innerTextElement())
431 innerTextElement()->setScrollTop(newTop); 431 innerTextElement()->setScrollTop(newTop);
432 } 432 }
433 433
434 HTMLInputElement* RenderTextControlSingleLine::inputElement() const 434 HTMLInputElement* RenderTextControlSingleLine::inputElement() const
435 { 435 {
436 return toHTMLInputElement(node()); 436 return toHTMLInputElement(node());
437 } 437 }
438 438
439 } 439 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTextControl.cpp ('k') | Source/core/rendering/RenderTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698