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

Unified Diff: chrome/browser/chromeos/input_method/hidable_area.h

Issue 121163003: Cleanup CandidateWindowView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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
Index: chrome/browser/chromeos/input_method/hidable_area.h
diff --git a/chrome/browser/chromeos/input_method/hidable_area.h b/chrome/browser/chromeos/input_method/hidable_area.h
deleted file mode 100644
index 76f468a83d375e25baa697f7bcc94c7895b0ba68..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/input_method/hidable_area.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2012 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_BROWSER_CHROMEOS_INPUT_METHOD_HIDABLE_AREA_H_
-#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_HIDABLE_AREA_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "ui/views/widget/widget.h"
-
-namespace chromeos {
-namespace input_method {
-
-// HidableArea is used as an area to place optional information that can be
-// turned displaying off if it is unnecessary.
-class HidableArea : public views::View {
- public:
- HidableArea();
- virtual ~HidableArea();
-
- // Sets the content view.
- void SetContents(views::View* contents);
-
- // Shows the content.
- void Show();
-
- // Hides the content.
- void Hide();
-
- // Returns whether the content is already set and shown.
- bool IsShown() const;
-
- // Returns the content.
- views::View* contents() {
- return contents_.get();
- }
-
- private:
- scoped_ptr<views::View> contents_;
- scoped_ptr<views::View> place_holder_;
-
- DISALLOW_COPY_AND_ASSIGN(HidableArea);
-};
-
-} // namespace input_method
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_HIDABLE_AREA_H_

Powered by Google App Engine
This is Rietveld 408576698