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

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

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 years, 11 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) 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_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/x11_util.h" 9 #include "app/x11_util.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "chrome/browser/chromeos/frame/panel_controller.h" 11 #include "chrome/browser/chromeos/frame/panel_controller.h"
12 #include "chrome/browser/views/frame/browser_view.h" 12 #include "chrome/browser/ui/views/frame/browser_view.h"
13 13
14 class Browser; 14 class Browser;
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 class PanelController; 18 class PanelController;
19 19
20 // A browser view that implements Panel specific behavior. 20 // A browser view that implements Panel specific behavior.
21 // NOTE: This inherits from ::BrowserView in chrome/browser/views/frame/, 21 // NOTE: This inherits from ::BrowserView in chrome/browser/ui/views/frame/,
22 // not chromeos::BrowserView in chrome/browser/chromeos/frame/. 22 // not chromeos::BrowserView in chrome/browser/chromeos/frame/.
23 class PanelBrowserView : public ::BrowserView, 23 class PanelBrowserView : public ::BrowserView,
24 public PanelController::Delegate { 24 public PanelController::Delegate {
25 public: 25 public:
26 explicit PanelBrowserView(Browser* browser); 26 explicit PanelBrowserView(Browser* browser);
27 27
28 // BrowserView overrides. 28 // BrowserView overrides.
29 virtual void Show(); 29 virtual void Show();
30 virtual void SetBounds(const gfx::Rect& bounds); 30 virtual void SetBounds(const gfx::Rect& bounds);
31 virtual void Close(); 31 virtual void Close();
(...skipping 18 matching lines...) Expand all
50 // X id for the content window of the panel that created this 50 // X id for the content window of the panel that created this
51 // panel. This tells ChromeOS that it should be created next to the 51 // panel. This tells ChromeOS that it should be created next to the
52 // content window of this panel. 52 // content window of this panel.
53 XID creator_xid_; 53 XID creator_xid_;
54 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); 54 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView);
55 }; 55 };
56 56
57 } // namespace chromeos 57 } // namespace chromeos
58 58
59 #endif // CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ 59 #endif // CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/bubble_frame_view.cc ('k') | chrome/browser/chromeos/login/background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698