diff options
Diffstat (limited to 'chromium/components/autofill/content/renderer/page_click_listener.h')
-rw-r--r-- | chromium/components/autofill/content/renderer/page_click_listener.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/chromium/components/autofill/content/renderer/page_click_listener.h b/chromium/components/autofill/content/renderer/page_click_listener.h deleted file mode 100644 index 1fc7862fe9e..00000000000 --- a/chromium/components/autofill/content/renderer/page_click_listener.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_LISTENER_H_ -#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_LISTENER_H_ - -namespace blink { -class WebInputElement; -} - -namespace autofill { - -// Interface that should be implemented by classes interested in getting -// notifications for clicks on a page. -// Register on the PageListenerTracker object. -class PageClickListener { - public: - // Notification that |element| was clicked. - // |was_focused| is true if |element| had focus BEFORE the click. - // |is_focused| is true if |element| has focus AFTER the click was processed. - virtual void InputElementClicked(const blink::WebInputElement& element, - bool was_focused, - bool is_focused) = 0; - - // If the previously focused element was an input field, listeners are - // informed that the text field has lost its focus. - virtual void InputElementLostFocus() = 0; - - protected: - virtual ~PageClickListener() {} -}; - -} // namespace autofill - -#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_LISTENER_H_ |