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

Unified Diff: athena/home/public/home_card.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « athena/home/public/app_model_builder.h ('k') | athena/home/public/search_controller_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/public/home_card.h
diff --git a/athena/home/public/home_card.h b/athena/home/public/home_card.h
deleted file mode 100644
index 47151190426138b26e8975c80f126117aa4dd071..0000000000000000000000000000000000000000
--- a/athena/home/public/home_card.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2014 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 ATHENA_HOME_PUBLIC_HOME_CARD_H_
-#define ATHENA_HOME_PUBLIC_HOME_CARD_H_
-
-#include "athena/athena_export.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace gfx {
-class Rect;
-}
-
-namespace athena {
-class AppModelBuilder;
-class SearchControllerFactory;
-
-class ATHENA_EXPORT HomeCard {
- public:
- enum State {
- // HomeCard is not visible.
- HIDDEN,
-
- // HomeCard is visible in the center of the screen as a normal mode.
- VISIBLE_CENTERED,
-
- // HomeCard is visible smaller at the bottom of the screen as a supplemental
- // widget.
- VISIBLE_BOTTOM,
-
- // HomeCard is minimized (i.e. a small UI element is displayed on screen
- // that the user can interact with to bring up the BOTTOM or CENTERED view).
- VISIBLE_MINIMIZED,
- };
-
- // Creates/deletes/gets the singleton object of the HomeCard
- // implementation. Takes the ownership of |model_builder|.
- static HomeCard* Create(scoped_ptr<AppModelBuilder> model_builder,
- scoped_ptr<SearchControllerFactory> search_factory);
- static void Shutdown();
- static HomeCard* Get();
-
- virtual ~HomeCard() {}
-
- // Updates/gets the current state of the home card.
- virtual void SetState(State state) = 0;
- virtual State GetState() = 0;
-
- // Called when the virtual keyboard changed has changed to |bounds|. An empty
- // |bounds| indicates that the virtual keyboard is not visible anymore.
- virtual void UpdateVirtualKeyboardBounds(
- const gfx::Rect& bounds) = 0;
-};
-
-} // namespace athena
-
-#endif // ATHENA_HOME_PUBLIC_HOME_CARD_H_
« no previous file with comments | « athena/home/public/app_model_builder.h ('k') | athena/home/public/search_controller_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698