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

Side by Side Diff: chrome/browser/ui/views/frame/compact_browser_frame_view.h

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton Created 8 years, 9 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
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_COMPACT_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_COMPACT_BROWSER_FRAME_VIEW_H_
7 #pragma once
8
9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h"
10
11 class CompactBrowserFrameView : public OpaqueBrowserFrameView {
12 public:
13 CompactBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
14 virtual ~CompactBrowserFrameView();
15
16 // View overrides.
17 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
18 virtual bool HitTest(const gfx::Point& l) const OVERRIDE;
19 virtual views::View* GetEventHandlerForPoint(
20 const gfx::Point& point) OVERRIDE;
21
22 protected:
23 // OpaqueBrowserFrameView overrides.
24 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE;
25 virtual void ModifyMaximizedFramePainting(int* top_offset,
26 SkBitmap** theme_frame,
27 SkBitmap** left_corner,
28 SkBitmap** right_corner) OVERRIDE;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(CompactBrowserFrameView);
32 };
33
34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_COMPACT_BROWSER_FRAME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698