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

Unified Diff: chrome/renderer/page_click_listener.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/page_click_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/page_click_listener.h
diff --git a/chrome/renderer/page_click_listener.h b/chrome/renderer/page_click_listener.h
deleted file mode 100644
index ff254a913537889b93e0bf61241703e9027e98e4..0000000000000000000000000000000000000000
--- a/chrome/renderer/page_click_listener.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2011 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 CHROME_RENDERER_PAGE_CLICK_LISTENER_H_
-#define CHROME_RENDERER_PAGE_CLICK_LISTENER_H_
-
-namespace WebKit {
-class WebInputElement;
-}
-
-// 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.
- // If this method returns true, the notification will not be propagated to
- // other listeners.
- virtual bool InputElementClicked(const WebKit::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.
- // If this method returns true, the notification will not be propagated to
- // other listeners.
- virtual bool InputElementLostFocus() = 0;
-
- protected:
- virtual ~PageClickListener() {}
-};
-
-#endif // CHROME_RENDERER_PAGE_CLICK_LISTENER_H_
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/page_click_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698