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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual bool HitTest(const gfx::Point& point) const OVERRIDE; 82 virtual bool HitTest(const gfx::Point& point) const OVERRIDE;
83 83
84 // Overrridden from TabStripModelObserver. 84 // Overrridden from TabStripModelObserver.
85 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, 85 virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
86 TabContentsWrapper* new_contents, 86 TabContentsWrapper* new_contents,
87 int index, 87 int index,
88 bool user_gesture); 88 bool user_gesture);
89 virtual void TabStripEmpty(); 89 virtual void TabStripEmpty();
90 90
91 // Overridden from NotificationObserver. 91 // Overridden from NotificationObserver.
92 virtual void Observe(NotificationType type, 92 virtual void Observe(int type,
93 const NotificationSource& source, 93 const NotificationSource& source,
94 const NotificationDetails& details); 94 const NotificationDetails& details);
95 95
96 // Overridden from ui::AnimationDelegate: 96 // Overridden from ui::AnimationDelegate:
97 virtual void AnimationProgressed(const ui::Animation* animation); 97 virtual void AnimationProgressed(const ui::Animation* animation);
98 virtual void AnimationEnded(const ui::Animation* animation); 98 virtual void AnimationEnded(const ui::Animation* animation);
99 99
100 bool keyboard_showing_; 100 bool keyboard_showing_;
101 int keyboard_height_; 101 int keyboard_height_;
102 bool focus_listener_added_; 102 bool focus_listener_added_;
103 KeyboardContainerView* keyboard_; 103 KeyboardContainerView* keyboard_;
104 NotificationRegistrar registrar_; 104 NotificationRegistrar registrar_;
105 105
106 scoped_ptr<ui::SlideAnimation> animation_; 106 scoped_ptr<ui::SlideAnimation> animation_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView); 108 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView);
109 }; 109 };
110 110
111 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ 111 #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