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

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

Issue 6624027: Rename BrowserFrameGtk::Init to BFG::InitBrowserFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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
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_BROWSER_FRAME_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/browser/ui/views/frame/browser_frame.h" 10 #include "chrome/browser/ui/views/frame/browser_frame.h"
(...skipping 14 matching lines...) Expand all
25 // 25 //
26 class BrowserFrameWin : public BrowserFrame, public views::WindowWin { 26 class BrowserFrameWin : public BrowserFrame, public views::WindowWin {
27 public: 27 public:
28 // Normally you will create this class by calling BrowserFrame::Create. 28 // Normally you will create this class by calling BrowserFrame::Create.
29 // Init must be called before using this class, which Create will do for you. 29 // Init must be called before using this class, which Create will do for you.
30 BrowserFrameWin(BrowserView* browser_view, Profile* profile); 30 BrowserFrameWin(BrowserView* browser_view, Profile* profile);
31 virtual ~BrowserFrameWin(); 31 virtual ~BrowserFrameWin();
32 32
33 // This initialization function must be called after construction, it is 33 // This initialization function must be called after construction, it is
34 // separate to avoid recursive calling of the frame from its constructor. 34 // separate to avoid recursive calling of the frame from its constructor.
35 void Init(); 35 void InitBrowserFrame();
36 36
37 BrowserView* browser_view() const { return browser_view_; } 37 BrowserView* browser_view() const { return browser_view_; }
38 38
39 // BrowserFrame implementation. 39 // BrowserFrame implementation.
40 virtual views::Window* GetWindow(); 40 virtual views::Window* GetWindow();
41 virtual int GetMinimizeButtonOffset() const; 41 virtual int GetMinimizeButtonOffset() const;
42 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const; 42 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const;
43 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const; 43 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const;
44 virtual void UpdateThrobber(bool running); 44 virtual void UpdateThrobber(bool running);
45 virtual ui::ThemeProvider* GetThemeProviderForFrame() const; 45 virtual ui::ThemeProvider* GetThemeProviderForFrame() const;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 BrowserRootView* root_view_; 90 BrowserRootView* root_view_;
91 91
92 bool frame_initialized_; 92 bool frame_initialized_;
93 93
94 Profile* profile_; 94 Profile* profile_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); 96 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin);
97 }; 97 };
98 98
99 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 99 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_gtk.cc ('k') | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698