From f298901fdf7b438d12b776407026eec114e3682b Mon Sep 17 00:00:00 2001 From: "rafaelw@chromium.org" Date: Thu, 4 Feb 2010 16:08:29 +0000 Subject: Step 1 in Implementing/Prototyping App Panels. In this first step we 1) Create a new Browser::Type::TYPE_APP_PANEL which is observed in various places 2) Create an AppPanelBrowserFrame which is created in BrowserFrameWin when the TYPE_APP_PANEL is observed. AppPanelBrowserFrame draws itself per glen's mocks and will ultimately behave substantially different from regular browser windows. 3) Create a temporary command switch called --app-launch-as-panel which can be used until we implement actual app launching. Note that there is still work to be done "bit-twiddling" to match glen's mocks and to implement the "inactive" look for these windows. Steps 2 through N may include: different sizing behavior (based either on the content size or an api call), different min/maximize behavior, docking to the os taskbar, auto order & placement of app panels. A screen capture of the current implementation is attached to the bug. BUG=32361 Review URL: http://codereview.chromium.org/553143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38107 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_browser.gypi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chrome/chrome_browser.gypi') diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index b2ea876..ef3a7a9 100755 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -1823,8 +1823,8 @@ 'browser/views/first_run_view.h', 'browser/views/first_run_view_base.cc', 'browser/views/first_run_view_base.h', - 'browser/views/frame/browser_view_layout.cc', - 'browser/views/frame/browser_view_layout.h', + 'browser/views/frame/app_panel_browser_frame_view.cc', + 'browser/views/frame/app_panel_browser_frame_view.h', 'browser/views/frame/browser_extender.cc', 'browser/views/frame/browser_extender.h', 'browser/views/frame/browser_frame.h', @@ -1837,6 +1837,8 @@ 'browser/views/frame/browser_root_view.h', 'browser/views/frame/browser_view.cc', 'browser/views/frame/browser_view.h', + 'browser/views/frame/browser_view_layout.cc', + 'browser/views/frame/browser_view_layout.h', 'browser/views/frame/glass_browser_frame_view.cc', 'browser/views/frame/glass_browser_frame_view.h', 'browser/views/frame/opaque_browser_frame_view.cc', -- cgit v1.1