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

Side by Side Diff: chrome/browser/ui/touch/frame/touch_browser_frame_view.h

Issue 7043020: Multi-tab selection: Renaming TabStripModelObserver::TabSelectedAt to ActiveTabChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating TODO comments Created 9 years, 7 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 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_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/tabs/tab_strip_model_observer.h" 9 #include "chrome/browser/tabs/tab_strip_model_observer.h"
10 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" 10 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 private: 59 private:
60 virtual void InitVirtualKeyboard(); 60 virtual void InitVirtualKeyboard();
61 virtual void UpdateKeyboardAndLayout(bool should_show_keyboard); 61 virtual void UpdateKeyboardAndLayout(bool should_show_keyboard);
62 virtual VirtualKeyboardType DecideKeyboardStateForView(views::View* view); 62 virtual VirtualKeyboardType DecideKeyboardStateForView(views::View* view);
63 63
64 // Overridden from views::View 64 // Overridden from views::View
65 virtual bool HitTest(const gfx::Point& point) const OVERRIDE; 65 virtual bool HitTest(const gfx::Point& point) const OVERRIDE;
66 66
67 // Overrridden from TabStripModelObserver. 67 // Overrridden from TabStripModelObserver.
68 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 68 virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
69 TabContentsWrapper* new_contents, 69 TabContentsWrapper* new_contents,
70 int index, 70 int index,
71 bool user_gesture); 71 bool user_gesture);
72 72
73 // Overridden from NotificationObserver. 73 // Overridden from NotificationObserver.
74 virtual void Observe(NotificationType type, 74 virtual void Observe(NotificationType type,
75 const NotificationSource& source, 75 const NotificationSource& source,
76 const NotificationDetails& details); 76 const NotificationDetails& details);
77 77
78 // Overridden from ui::AnimationDelegate: 78 // Overridden from ui::AnimationDelegate:
79 virtual void AnimationProgressed(const ui::Animation* animation); 79 virtual void AnimationProgressed(const ui::Animation* animation);
80 virtual void AnimationEnded(const ui::Animation* animation); 80 virtual void AnimationEnded(const ui::Animation* animation);
81 81
82 bool keyboard_showing_; 82 bool keyboard_showing_;
83 bool focus_listener_added_; 83 bool focus_listener_added_;
84 KeyboardContainerView* keyboard_; 84 KeyboardContainerView* keyboard_;
85 NotificationRegistrar registrar_; 85 NotificationRegistrar registrar_;
86 86
87 scoped_ptr<ui::SlideAnimation> animation_; 87 scoped_ptr<ui::SlideAnimation> animation_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView); 89 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView);
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ 92 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model.cc ('k') | chrome/browser/ui/touch/frame/touch_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698