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

Side by Side Diff: Source/core/html/BaseChooserOnlyDateAndTimeInputType.h

Issue 16194013: Mouse press should focus on any types of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/dom/Node.cpp ('k') | Source/core/html/BaseChooserOnlyDateAndTimeInputType.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) 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // InputType functions: 46 // InputType functions:
47 virtual void createShadowSubtree() OVERRIDE; 47 virtual void createShadowSubtree() OVERRIDE;
48 virtual void detach() OVERRIDE; 48 virtual void detach() OVERRIDE;
49 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE; 49 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE;
50 virtual void handleDOMActivateEvent(Event*) OVERRIDE; 50 virtual void handleDOMActivateEvent(Event*) OVERRIDE;
51 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE; 51 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE;
52 virtual void handleKeypressEvent(KeyboardEvent*) OVERRIDE; 52 virtual void handleKeypressEvent(KeyboardEvent*) OVERRIDE;
53 virtual void handleKeyupEvent(KeyboardEvent*) OVERRIDE; 53 virtual void handleKeyupEvent(KeyboardEvent*) OVERRIDE;
54 virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE; 54 virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE;
55 virtual bool isMouseFocusable() const OVERRIDE;
56 55
57 // DateTimeChooserClient functions: 56 // DateTimeChooserClient functions:
58 virtual void didChooseValue(const String&) OVERRIDE; 57 virtual void didChooseValue(const String&) OVERRIDE;
59 virtual void didEndChooser() OVERRIDE; 58 virtual void didEndChooser() OVERRIDE;
60 59
61 RefPtr<DateTimeChooser> m_dateTimeChooser; 60 RefPtr<DateTimeChooser> m_dateTimeChooser;
62 }; 61 };
63 62
64 } 63 }
65 #endif 64 #endif
66 #endif 65 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698