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

Side by Side Diff: chrome/browser/ui/touch/status_bubble_touch.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_TOUCH_STATUS_BUBBLE_TOUCH_H_ 5 #ifndef CHROME_BROWSER_UI_TOUCH_STATUS_BUBBLE_TOUCH_H_
6 #define CHROME_BROWSER_UI_TOUCH_STATUS_BUBBLE_TOUCH_H_ 6 #define CHROME_BROWSER_UI_TOUCH_STATUS_BUBBLE_TOUCH_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/views/status_bubble_views.h" 9 #include "chrome/browser/ui/views/status_bubble_views.h"
10 #include "views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 11
12 // The touch version of the status bubble. This repositions itself as the 12 // The touch version of the status bubble. This repositions itself as the
13 // keyboard slides up/down. 13 // keyboard slides up/down.
14 class StatusBubbleTouch : public StatusBubbleViews, 14 class StatusBubbleTouch : public StatusBubbleViews,
15 public views::Widget::Observer { 15 public views::Widget::Observer {
16 public: 16 public:
17 explicit StatusBubbleTouch(views::View* base_view); 17 explicit StatusBubbleTouch(views::View* base_view);
18 virtual ~StatusBubbleTouch(); 18 virtual ~StatusBubbleTouch();
19 19
20 private: 20 private:
21 // Overridden from StatusBubbleViews. 21 // Overridden from StatusBubbleViews.
22 virtual void Reposition() OVERRIDE; 22 virtual void Reposition() OVERRIDE;
23 23
24 // Overridden from views::Widget::Observer. 24 // Overridden from views::Widget::Observer.
25 virtual void OnWidgetVisibilityChanged(views::Widget* widget, 25 virtual void OnWidgetVisibilityChanged(views::Widget* widget,
26 bool visible) OVERRIDE; 26 bool visible) OVERRIDE;
27 27
28 DISALLOW_COPY_AND_ASSIGN(StatusBubbleTouch); 28 DISALLOW_COPY_AND_ASSIGN(StatusBubbleTouch);
29 }; 29 };
30 30
31 #endif // CHROME_BROWSER_UI_TOUCH_STATUS_BUBBLE_TOUCH_H_ 31 #endif // CHROME_BROWSER_UI_TOUCH_STATUS_BUBBLE_TOUCH_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_view.cc ('k') | chrome/browser/ui/touch/tabs/touch_tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698