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

Unified Diff: views/focus/focus_manager_factory.h

Issue 8588064: views: Move bubble, events, focus and layout to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « views/focus/focus_manager.cc ('k') | views/focus/focus_manager_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/focus/focus_manager_factory.h
diff --git a/views/focus/focus_manager_factory.h b/views/focus/focus_manager_factory.h
index 136b254206239d5d07a586d452ede6d997d44df7..825cc34f93845bcc3d212708f37bde6f2f45f967 100644
--- a/views/focus/focus_manager_factory.h
+++ b/views/focus/focus_manager_factory.h
@@ -6,36 +6,7 @@
#define VIEWS_FOCUS_FOCUS_MANAGER_FACTORY_H_
#pragma once
-#include "base/basictypes.h"
-#include "views/views_export.h"
-
-namespace views {
-
-class FocusManager;
-class Widget;
-
-// A factory to create FocusManager. This is used in unit tests
-// to inject a custom factory.
-class VIEWS_EXPORT FocusManagerFactory {
- public:
- // Create a FocusManager for the given |widget| using installe Factory.
- static FocusManager* Create(Widget* widget);
-
- // Installs FocusManagerFactory. If |factory| is NULL, it resets
- // to the default factory which creates plain FocusManager.
- static void Install(FocusManagerFactory* factory);
-
- protected:
- FocusManagerFactory();
- virtual ~FocusManagerFactory();
-
- // Create a FocusManager for the given |widget|.
- virtual FocusManager* CreateFocusManager(Widget* widget) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FocusManagerFactory);
-};
-
-} // namespace views
+#include "ui/views/focus/focus_manager_factory.h"
+// TODO(tfarina): remove this file once all includes have been updated.
#endif // VIEWS_FOCUS_FOCUS_MANAGER_FACTORY_H_
« no previous file with comments | « views/focus/focus_manager.cc ('k') | views/focus/focus_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698