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

Side by Side Diff: chrome/browser/chromeos/browser_view.h

Issue 543215: Added Star button to compact navigation mode.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698