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

Side by Side Diff: chrome/browser/ui/views/aura/status_area_host_aura.h

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
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_AURA_STATUS_AREA_HOST_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/chromeos/status/status_area_button.h" 10 #include "chrome/browser/chromeos/status/status_area_button.h"
11 11
12 #if defined(OS_CHROMEOS) 12 #if defined(OS_CHROMEOS)
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/browser/chromeos/login/login_html_dialog.h" 14 #include "chrome/browser/chromeos/login/login_html_dialog.h"
15 #endif 15 #endif
16 16
17 class StatusAreaView; 17 class StatusAreaView;
18 class TimezoneClockUpdater; 18 class TimezoneClockUpdater;
19 19
20 namespace views { 20 namespace views {
21 class Views; 21 class Views;
22 class Widget; 22 class Widget;
23 } 23 }
24 24
25 class StatusAreaHostAura : public StatusAreaButton::Delegate { 25 class StatusAreaHostAura : public StatusAreaButton::Delegate {
26 public: 26 public:
27 StatusAreaHostAura(); 27 StatusAreaHostAura();
28 virtual ~StatusAreaHostAura(); 28 virtual ~StatusAreaHostAura();
29 29
30 // Returns the view housing the status area. Exposed for testing. 30 // Returns the status area view.
31 views::View* GetStatusAreaForTest(); 31 StatusAreaView* GetStatusArea();
32 32
33 // Instantiates and sets |status_area_view_|, and sets it as the contents of 33 // Instantiates and sets |status_area_view_|, and sets it as the contents of
34 // a new views::Widget |status_area_widget_| which is returned. 34 // a new views::Widget |status_area_widget_| which is returned.
35 // The caller is expected to take ownership of |status_area_widget_|. 35 // The caller is expected to take ownership of |status_area_widget_|.
36 views::Widget* CreateStatusArea(); 36 views::Widget* CreateStatusArea();
37 37
38 // StatusAreaButton::Delegate implementation. 38 // StatusAreaButton::Delegate implementation.
39 virtual bool ShouldExecuteStatusAreaCommand( 39 virtual bool ShouldExecuteStatusAreaCommand(
40 const views::View* button_view, int command_id) const OVERRIDE; 40 const views::View* button_view, int command_id) const OVERRIDE;
41 virtual void ExecuteStatusAreaCommand( 41 virtual void ExecuteStatusAreaCommand(
(...skipping 12 matching lines...) Expand all
54 // Proxy settings dialog that can be invoked from network menu. 54 // Proxy settings dialog that can be invoked from network menu.
55 scoped_ptr<chromeos::LoginHtmlDialog> proxy_settings_dialog_; 55 scoped_ptr<chromeos::LoginHtmlDialog> proxy_settings_dialog_;
56 56
57 scoped_ptr<TimezoneClockUpdater> timezone_clock_updater_; 57 scoped_ptr<TimezoneClockUpdater> timezone_clock_updater_;
58 #endif 58 #endif
59 59
60 DISALLOW_COPY_AND_ASSIGN(StatusAreaHostAura); 60 DISALLOW_COPY_AND_ASSIGN(StatusAreaHostAura);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ 63 #endif // CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/aura/chrome_shell_delegate.cc ('k') | chrome/browser/ui/views/aura/status_area_host_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698