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

Side by Side Diff: chrome/browser/chromeos/webui/login/frame/dom_browser_frame_view.h

Issue 6577003: Entire DOMBrowser stack (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 10 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) 2010 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_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_VIEW_H_
7 #pragma once
8
9 #include "chrome/browser/ui/touch/frame/touch_browser_frame_view.h"
10
11 class BrowserFrame;
12 class BrowserView;
13
14 namespace chromeos {
15
16 class DOMBrowserFrameView: public TouchBrowserFrameView {
17 public:
18 // Constructs a non-client view for an BrowserFrame.
19 DOMBrowserFrameView(::BrowserFrame* frame, ::BrowserView* browser_view);
20 virtual ~DOMBrowserFrameView();
21
22 static BrowserNonClientFrameView*
23 CreateBrowserNonClientFrameView(::BrowserFrame* frame,
24 ::BrowserView* browser_view);
25
26 protected:
27 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const;
28 void OnPaint(gfx::Canvas* canvas);
29 bool HitTest(const gfx::Point& l) const;
30
31 private:
32 void LayoutOTRAvatar();
33
34
35 DISALLOW_COPY_AND_ASSIGN(DOMBrowserFrameView);
36 };
37 } // namespace chromeos
38
39 #endif // CHROME_BROWSER_CHROMEOS_WEBUI_LOGIN_FRAME_DOM_BROWSER_FRAME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698