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

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

Issue 1589021: Status area improvements:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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) 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_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
7 7
8 #include "chrome/browser/chromeos/status/status_area_host.h" 8 #include "chrome/browser/chromeos/status/status_area_host.h"
9 #include "chrome/browser/views/frame/browser_view.h" 9 #include "chrome/browser/views/frame/browser_view.h"
10 #include "views/controls/button/button.h" 10 #include "views/controls/button/button.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual ~BrowserView(); 58 virtual ~BrowserView();
59 59
60 // BrowserView overrides. 60 // BrowserView overrides.
61 virtual void Init(); 61 virtual void Init();
62 virtual void Show(); 62 virtual void Show();
63 virtual bool IsToolbarVisible() const; 63 virtual bool IsToolbarVisible() const;
64 virtual void SetFocusToLocationBar(); 64 virtual void SetFocusToLocationBar();
65 virtual void ToggleCompactNavigationBar(); 65 virtual void ToggleCompactNavigationBar();
66 virtual views::LayoutManager* CreateLayoutManager() const; 66 virtual views::LayoutManager* CreateLayoutManager() const;
67 virtual BaseTabStrip* CreateTabStrip(TabStripModel* tab_strip_model); 67 virtual BaseTabStrip* CreateTabStrip(TabStripModel* tab_strip_model);
68 virtual void ChildPreferredSizeChanged(View* child);
68 69
69 // views::ButtonListener overrides. 70 // views::ButtonListener overrides.
70 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 71 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
71 72
72 // views::ContextMenuController overrides. 73 // views::ContextMenuController overrides.
73 virtual void ShowContextMenu(views::View* source, 74 virtual void ShowContextMenu(views::View* source,
74 const gfx::Point& p, 75 const gfx::Point& p,
75 bool is_mouse_gesture); 76 bool is_mouse_gesture);
76 77
77 // StatusAreaHost overrides. 78 // StatusAreaHost overrides.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 131
131 // Menu button shown in status area when browser is in compact mode. 132 // Menu button shown in status area when browser is in compact mode.
132 StatusAreaButton* menu_view_; 133 StatusAreaButton* menu_view_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(BrowserView); 135 DISALLOW_COPY_AND_ASSIGN(BrowserView);
135 }; 136 };
136 137
137 } // namespace chromeos 138 } // namespace chromeos
138 139
139 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 140 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698