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

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

Issue 6975037: Revert 85666 - Consolidate ShouldUseNativeFrame/AlwaysUseNativeFrame/UseNativeFrame spaghetti. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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) 2011 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_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/views/frame/browser_frame.h" 9 #include "chrome/browser/ui/views/frame/browser_frame.h"
10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
(...skipping 23 matching lines...) Expand all
34 34
35 // Overridden from BrowserNonClientFrameView: 35 // Overridden from BrowserNonClientFrameView:
36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
37 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; 37 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE;
38 virtual void UpdateThrobber(bool running) OVERRIDE; 38 virtual void UpdateThrobber(bool running) OVERRIDE;
39 virtual gfx::Size GetMinimumSize() OVERRIDE; 39 virtual gfx::Size GetMinimumSize() OVERRIDE;
40 40
41 protected: 41 protected:
42 // Overridden from views::NonClientFrameView: 42 // Overridden from views::NonClientFrameView:
43 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 43 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
44 virtual bool AlwaysUseCustomFrame() const OVERRIDE;
45 virtual bool AlwaysUseNativeFrame() const OVERRIDE;
44 virtual gfx::Rect GetWindowBoundsForClientBounds( 46 virtual gfx::Rect GetWindowBoundsForClientBounds(
45 const gfx::Rect& client_bounds) const OVERRIDE; 47 const gfx::Rect& client_bounds) const OVERRIDE;
46 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 48 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
47 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) 49 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask)
48 OVERRIDE; 50 OVERRIDE;
49 virtual void EnableClose(bool enable) OVERRIDE; 51 virtual void EnableClose(bool enable) OVERRIDE;
50 virtual void ResetWindowControls() OVERRIDE; 52 virtual void ResetWindowControls() OVERRIDE;
51 virtual void UpdateWindowIcon() OVERRIDE; 53 virtual void UpdateWindowIcon() OVERRIDE;
52 54
53 // Overridden from views::View: 55 // Overridden from views::View:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // The accessible name of this view. 123 // The accessible name of this view.
122 std::wstring accessible_name_; 124 std::wstring accessible_name_;
123 125
124 static void InitAppWindowResources(); 126 static void InitAppWindowResources();
125 static gfx::Font* title_font_; 127 static gfx::Font* title_font_;
126 128
127 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView); 129 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView);
128 }; 130 };
129 131
130 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ 132 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.cc ('k') | chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698