OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_BROWSER_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/status_area_host.h" | 8 #include "chrome/browser/chromeos/status_area_host.h" |
9 #include "chrome/browser/views/frame/browser_view.h" | 9 #include "chrome/browser/views/frame/browser_view.h" |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 virtual ~BrowserView(); | 55 virtual ~BrowserView(); |
56 | 56 |
57 // BrowserView overrides. | 57 // BrowserView overrides. |
58 virtual void Init(); | 58 virtual void Init(); |
59 virtual void Show(); | 59 virtual void Show(); |
60 virtual bool IsToolbarVisible() const; | 60 virtual bool IsToolbarVisible() const; |
61 virtual void SetFocusToLocationBar(); | 61 virtual void SetFocusToLocationBar(); |
62 virtual void ToggleCompactNavigationBar(); | 62 virtual void ToggleCompactNavigationBar(); |
63 virtual views::LayoutManager* CreateLayoutManager() const; | 63 virtual views::LayoutManager* CreateLayoutManager() const; |
64 virtual TabStrip* CreateTabStrip(TabStripModel* tab_strip_model); | 64 virtual TabStrip* CreateTabStrip(TabStripModel* tab_strip_model); |
| 65 virtual void SetStarredState(bool is_starred); |
| 66 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
65 | 67 |
66 // views::ButtonListener overrides. | 68 // views::ButtonListener overrides. |
67 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 69 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
68 | 70 |
69 // views::ContextMenuController overrides. | 71 // views::ContextMenuController overrides. |
70 virtual void ShowContextMenu(views::View* source, | 72 virtual void ShowContextMenu(views::View* source, |
71 int x, | 73 int x, |
72 int y, | 74 int y, |
73 bool is_mouse_gesture); | 75 bool is_mouse_gesture); |
74 | 76 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // Menu button shown in status area when browser is in compact mode. | 124 // Menu button shown in status area when browser is in compact mode. |
123 StatusAreaButton* menu_view_; | 125 StatusAreaButton* menu_view_; |
124 | 126 |
125 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 127 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
126 }; | 128 }; |
127 | 129 |
128 } // namespace chromeos | 130 } // namespace chromeos |
129 | 131 |
130 #endif // CHROME_BROWSER_CHROMEOS_BROWSER_VIEW_H_ | 132 #endif // CHROME_BROWSER_CHROMEOS_BROWSER_VIEW_H_ |
131 | 133 |
OLD | NEW |