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

Side by Side Diff: chrome/browser/views/page_info_window.h

Issue 10896: Re-do the way browser windows are shown:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_PAGE_INFO_WINDOW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_PAGE_INFO_WINDOW_H__
6 #define CHROME_BROWSER_VIEWS_PAGE_INFO_WINDOW_H__ 6 #define CHROME_BROWSER_VIEWS_PAGE_INFO_WINDOW_H__
7 7
8 #include "chrome/browser/navigation_entry.h" 8 #include "chrome/browser/navigation_entry.h"
9 #include "chrome/views/dialog_delegate.h" 9 #include "chrome/views/dialog_delegate.h"
10 #include "chrome/views/native_button.h" 10 #include "chrome/views/native_button.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // views::Window overridden method. 62 // views::Window overridden method.
63 void Show(); 63 void Show();
64 64
65 // views::NativeButton::Listener method. 65 // views::NativeButton::Listener method.
66 virtual void ButtonPressed(views::NativeButton* sender); 66 virtual void ButtonPressed(views::NativeButton* sender);
67 67
68 // views::DialogDelegate methods: 68 // views::DialogDelegate methods:
69 virtual int GetDialogButtons() const; 69 virtual int GetDialogButtons() const;
70 virtual std::wstring GetWindowTitle() const; 70 virtual std::wstring GetWindowTitle() const;
71 virtual void SaveWindowPosition(const CRect& bounds, 71 virtual std::wstring GetWindowName() const;
72 bool maximized,
73 bool always_on_top);
74 virtual bool RestoreWindowPosition(CRect* bounds,
75 bool* maximized,
76 bool* always_on_top);
77 virtual views::View* GetContentsView(); 72 virtual views::View* GetContentsView();
78 73
79 private: 74 private:
80 views::View* CreateGeneralTabView(); 75 views::View* CreateGeneralTabView();
81 views::View* CreateSecurityTabView( 76 views::View* CreateSecurityTabView(
82 Profile* profile, 77 Profile* profile,
83 const GURL& url, 78 const GURL& url,
84 const NavigationEntry::SSLStatus& ssl, 79 const NavigationEntry::SSLStatus& ssl,
85 NavigationEntry::PageType page_type, 80 NavigationEntry::PageType page_type,
86 bool show_history); 81 bool show_history);
(...skipping 13 matching lines...) Expand all
100 // The page info contents. 95 // The page info contents.
101 PageInfoContentView* contents_; 96 PageInfoContentView* contents_;
102 97
103 // A counter of how many page info windows are currently opened. 98 // A counter of how many page info windows are currently opened.
104 static int opened_window_count_; 99 static int opened_window_count_;
105 100
106 DISALLOW_EVIL_CONSTRUCTORS(PageInfoWindow); 101 DISALLOW_EVIL_CONSTRUCTORS(PageInfoWindow);
107 }; 102 };
108 103
109 #endif // #define CHROME_BROWSER_VIEWS_PAGE_INFO_WINDOW_H__ 104 #endif // #define CHROME_BROWSER_VIEWS_PAGE_INFO_WINDOW_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698