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

Side by Side Diff: chrome/browser/ui/touch/tabs/touch_tab_strip_controller.h

Issue 8678015: Touch constants and dead code removal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied Sadrul's comments 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_CONTROLLER_H_
7 #pragma once
8
9 #include "chrome/browser/favicon/favicon_service.h"
10 #include "chrome/browser/history/history.h"
11 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h"
12
13 class TouchTab;
14 class TouchTabStrip;
15
16 class TouchTabStripController : public BrowserTabStripController {
17 public:
18 TouchTabStripController(Browser* browser, TabStripModel* model);
19 virtual ~TouchTabStripController();
20
21 virtual void TabDetachedAt(TabContentsWrapper* contents,
22 int model_index) OVERRIDE;
23
24 virtual void TabChangedAt(TabContentsWrapper* contents,
25 int model_index,
26 TabChangeType change_type) OVERRIDE;
27
28 protected:
29 virtual void SetTabRendererDataFromModel(TabContents* contents,
30 int model_index,
31 TabRendererData* data,
32 TabStatus tab_status) OVERRIDE;
33
34 const TouchTabStrip* tabstrip() const;
35
36 private:
37 void OnTouchIconAvailable(FaviconService::Handle h,
38 history::FaviconData favicon);
39
40 // Our consumer for touch icon requests.
41 CancelableRequestConsumerTSimple<TouchTab*> consumer_;
42
43 DISALLOW_COPY_AND_ASSIGN(TouchTabStripController);
44 };
45
46 #endif // CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/touch/tabs/touch_tab_strip.cc ('k') | chrome/browser/ui/touch/tabs/touch_tab_strip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698