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

Side by Side Diff: Source/core/html/shadow/PasswordGeneratorButtonElement.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 21 matching lines...) Expand all
32 #include "core/html/shadow/PasswordGeneratorButtonElement.h" 32 #include "core/html/shadow/PasswordGeneratorButtonElement.h"
33 33
34 #include "core/events/Event.h" 34 #include "core/events/Event.h"
35 #include "core/dom/NodeRenderStyle.h" 35 #include "core/dom/NodeRenderStyle.h"
36 #include "core/fetch/ImageResource.h" 36 #include "core/fetch/ImageResource.h"
37 #include "core/html/HTMLInputElement.h" 37 #include "core/html/HTMLInputElement.h"
38 #include "core/html/shadow/ShadowElementNames.h" 38 #include "core/html/shadow/ShadowElementNames.h"
39 #include "core/page/Chrome.h" 39 #include "core/page/Chrome.h"
40 #include "core/page/ChromeClient.h" 40 #include "core/page/ChromeClient.h"
41 #include "core/page/Page.h" 41 #include "core/page/Page.h"
42 #include "core/platform/graphics/Image.h"
43 #include "core/rendering/RenderImage.h" 42 #include "core/rendering/RenderImage.h"
43 #include "platform/graphics/Image.h"
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 using namespace HTMLNames; 47 using namespace HTMLNames;
48 48
49 PasswordGeneratorButtonElement::PasswordGeneratorButtonElement(Document& documen t) 49 PasswordGeneratorButtonElement::PasswordGeneratorButtonElement(Document& documen t)
50 : HTMLDivElement(document) 50 : HTMLDivElement(document)
51 , m_isInHoverState(false) 51 , m_isInHoverState(false)
52 { 52 {
53 setHasCustomStyleCallbacks(); 53 setHasCustomStyleCallbacks();
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 bool PasswordGeneratorButtonElement::willRespondToMouseClickEvents() 163 bool PasswordGeneratorButtonElement::willRespondToMouseClickEvents()
164 { 164 {
165 const HTMLInputElement* input = hostInput(); 165 const HTMLInputElement* input = hostInput();
166 if (!input->isDisabledOrReadOnly()) 166 if (!input->isDisabledOrReadOnly())
167 return true; 167 return true;
168 168
169 return HTMLDivElement::willRespondToMouseClickEvents(); 169 return HTMLDivElement::willRespondToMouseClickEvents();
170 } 170 }
171 171
172 } // namespace WebCore 172 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp ('k') | Source/core/html/shadow/SpinButtonElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698