Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / popup_non_client_frame_view.h
blobe3852a67d43b4d16efaff2d8fa40256a57a4920b
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_
8 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
10 // BrowserNonClientFrameView implementation for popups. We let the window
11 // manager implementation render the decorations for popups, so this draws
12 // nothing.
13 class PopupNonClientFrameView : public BrowserNonClientFrameView {
14 public:
15 explicit PopupNonClientFrameView(BrowserFrame* frame);
17 // NonClientFrameView:
18 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
19 virtual gfx::Rect GetWindowBoundsForClientBounds(
20 const gfx::Rect& client_bounds) const OVERRIDE;
21 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
22 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask)
23 OVERRIDE;
24 virtual void ResetWindowControls() OVERRIDE;
25 virtual void UpdateWindowIcon() OVERRIDE;
26 virtual void UpdateWindowTitle() OVERRIDE;
28 // BrowserNonClientFrameView:
29 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
30 virtual int GetTopInset() const OVERRIDE;
31 virtual int GetThemeBackgroundXInset() const OVERRIDE;
32 virtual void UpdateThrobber(bool running) OVERRIDE;
34 private:
35 DISALLOW_COPY_AND_ASSIGN(PopupNonClientFrameView);
38 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_POPUP_NON_CLIENT_FRAME_VIEW_H_