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

Side by Side Diff: chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.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_VIEWS_COMPACT_NAV_COMPACT_LOCATION_BAR_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_COMPACT_NAV_COMPACT_LOCATION_BAR_VIEW_HOST_H_
6 #define CHROME_BROWSER_UI_VIEWS_COMPACT_NAV_COMPACT_LOCATION_BAR_VIEW_HOST_H_ 6 #define CHROME_BROWSER_UI_VIEWS_COMPACT_NAV_COMPACT_LOCATION_BAR_VIEW_HOST_H_
7 7
8 #include "base/timer.h" 8 #include "base/timer.h"
9 #include "chrome/browser/tabs/tab_strip_model.h" 9 #include "chrome/browser/tabs/tab_strip_model.h"
10 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 10 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 int index, 93 int index,
94 bool user_gesture) OVERRIDE; 94 bool user_gesture) OVERRIDE;
95 virtual void TabMoved(TabContentsWrapper* contents, 95 virtual void TabMoved(TabContentsWrapper* contents,
96 int from_index, 96 int from_index,
97 int to_index) OVERRIDE; 97 int to_index) OVERRIDE;
98 virtual void TabChangedAt(TabContentsWrapper* contents, int index, 98 virtual void TabChangedAt(TabContentsWrapper* contents, int index,
99 TabChangeType change_type) OVERRIDE; 99 TabChangeType change_type) OVERRIDE;
100 virtual void ActiveTabClicked(int index) OVERRIDE; 100 virtual void ActiveTabClicked(int index) OVERRIDE;
101 101
102 // Overridden from NotificationObserver. 102 // Overridden from NotificationObserver.
103 virtual void Observe(NotificationType type, 103 virtual void Observe(int type,
104 const NotificationSource& source, 104 const NotificationSource& source,
105 const NotificationDetails& details) OVERRIDE; 105 const NotificationDetails& details) OVERRIDE;
106 106
107 // LocationBarView::Delegate overrides 107 // LocationBarView::Delegate overrides
108 virtual TabContentsWrapper* GetTabContentsWrapper() const OVERRIDE; 108 virtual TabContentsWrapper* GetTabContentsWrapper() const OVERRIDE;
109 virtual InstantController* GetInstant() OVERRIDE; 109 virtual InstantController* GetInstant() OVERRIDE;
110 virtual void OnInputInProgress(bool in_progress) OVERRIDE; 110 virtual void OnInputInProgress(bool in_progress) OVERRIDE;
111 111
112 private: 112 private:
113 friend class MouseObserver; 113 friend class MouseObserver;
(...skipping 15 matching lines...) Expand all
129 129
130 scoped_ptr<MouseObserver> mouse_observer_; 130 scoped_ptr<MouseObserver> mouse_observer_;
131 131
132 // Track if we are currently observing the tabstrip model. 132 // Track if we are currently observing the tabstrip model.
133 bool is_observing_; 133 bool is_observing_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(CompactLocationBarViewHost); 135 DISALLOW_COPY_AND_ASSIGN(CompactLocationBarViewHost);
136 }; 136 };
137 137
138 #endif // CHROME_BROWSER_UI_VIEWS_COMPACT_NAV_COMPACT_LOCATION_BAR_VIEW_HOST_H_ 138 #endif // CHROME_BROWSER_UI_VIEWS_COMPACT_NAV_COMPACT_LOCATION_BAR_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698