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

Side by Side Diff: chrome/browser/views/frame/popup_non_client_frame_view.h

Issue 3133001: Issue 4448: Hide the address bar for popups in ChromeOS (Closed)
Patch Set: Merge fix. Created 10 years, 4 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
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_
7 #pragma once
8
9 #include "chrome/browser/views/frame/browser_non_client_frame_view.h"
10
11 class BaseTabStrip;
12
13 // BrowserNonClientFrameView implementation for popups. We let the window
14 // manager implementation render the decorations for popups, so this draws
15 // nothing.
16 class PopupNonClientFrameView : public BrowserNonClientFrameView {
17 public:
18 PopupNonClientFrameView() {}
19
20 // NonClientFrameView:
21 virtual gfx::Rect GetBoundsForClientView() const;
22 virtual bool AlwaysUseCustomFrame() const;
23 virtual bool AlwaysUseNativeFrame() const;
24 virtual gfx::Rect GetWindowBoundsForClientBounds(
25 const gfx::Rect& client_bounds) const;
26 virtual int NonClientHitTest(const gfx::Point& point);
27 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask);
28 virtual void EnableClose(bool enable);
29 virtual void ResetWindowControls();
30
31 // BrowserNonClientFrameView:
32 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const;
33 virtual void UpdateThrobber(bool running);
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(PopupNonClientFrameView);
37 };
38
39 #endif // CHROME_BROWSER_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame_gtk.cc ('k') | chrome/browser/views/frame/popup_non_client_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698