summaryrefslogtreecommitdiffstats
path: root/ash/wm/frame_painter.cc
Commit message (Collapse)AuthorAgeFilesLines
* Refactor FramePainter so that a child view of NonClientFrameView can paint ↵pkotwicz@chromium.org2013-10-181-847/+0
| | | | | | | | | | | | | the header instead of NonClientFrameView. This functionality is necessary so that CustomFrameViewAsh can be put into immersive fullscreen. BUG=307622 TEST=ResizeShadowAndCursorTest.* R=jamescook TBR=sky (For trivial refactor as a result of merging CustomFrameViewAsh::Init() and the CustomFrameViewAsh constructor) Review URL: https://codereview.chromium.org/27267003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229342 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression wrt aura::Window::set_hit_test_bounds_override_inner() due to ↵pkotwicz@chromium.org2013-10-071-17/+22
| | | | | | | | | | | https://chromiumcodereview.appspot.com/14439006 BUG=304196 TEST=ToplevelWindowEventHandlerResizeTest.MouseResizeShadows Review URL: https://codereview.chromium.org/25807005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227376 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes use after free caused by delete in RootWindowController (2)sky@chromium.org2013-10-021-2/+0
| | | | | | | | | | | | | | | RootWindowController::CloseChildWindows() was explicitly deleting windows. It should only do that for windows that are owned by the parent, otherwise the window should be removed. BUG=297028 TEST=covered by test now. R=oshima@chromium.org TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/25736004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226524 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 226347 "Fixes use after free caused by delete in RootWind..."dcheng@chromium.org2013-10-021-0/+2
| | | | | | | | | | | | | | | | | | | | > Fixes use after free caused by delete in RootWindowController > > RootWindowController::CloseChildWindows() was explicitly deleting > windows. It should only do that for windows that are owned by the > parent, otherwise the window should be removed. > > BUG=297028 > TEST=covered by test now. > R=oshima@chromium.org > > Review URL: https://codereview.chromium.org/25374002 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/25659002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226377 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes use after free caused by delete in RootWindowControllersky@chromium.org2013-10-011-2/+0
| | | | | | | | | | | | | | RootWindowController::CloseChildWindows() was explicitly deleting windows. It should only do that for windows that are owned by the parent, otherwise the window should be removed. BUG=297028 TEST=covered by test now. R=oshima@chromium.org Review URL: https://codereview.chromium.org/25374002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226347 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce WindowShowType which specifies the ash specific window show state.oshima@chromium.org2013-09-291-15/+10
| | | | | | | | | | | | | | | | * define separate file for WindowStateObserver. Next step. * Change auto placing code to update the state. * Notify observers when ash specific state has changed. Fix code and tests. BUG=272460 R=jamescook@chromium.org Review URL: https://codereview.chromium.org/23736012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225870 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on ui::ScaleFactor from ui/gfxdavemoore@chromium.org2013-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | As part of the work to removed dependencies on ui/base from ui/gfx I have changed the public api to Canvas, ImageSkia, ImageSkiaRep and ImagePNGRep to take float scale values instead of ui::ScaleFactor. The notion of supported scale factors has been broken into 2 parts. ui::SetSupportedScaleFactors remains and calls the new ImageSkia::SetSupportedScales(). The initialization of the supported scale factors has been moved from layout.h into ResourceBundle, and is done explicitly in tests that don't use ResourceBundle. BUG=103304 R=ben@chromium.org, oshima@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224473 Review URL: https://codereview.chromium.org/24175004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224876 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 224473 "Remove dependency on ui::ScaleFactor from ui/gfx"davemoore@chromium.org2013-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | > Remove dependency on ui::ScaleFactor from ui/gfx > > As part of the work to removed dependencies on ui/base from ui/gfx I have > changed the public api to Canvas, ImageSkia, ImageSkiaRep and ImagePNGRep > to take float scale values instead of ui::ScaleFactor. > > The notion of supported scale factors has been broken into 2 parts. > ui::SetSupportedScaleFactors remains and calls the > new ImageSkia::SetSupportedScales(). > > The initialization of the supported scale factors has been moved from layout.h > into ResourceBundle, and is done explicitly in tests that don't use > ResourceBundle. > > BUG=103304 > R=ben@chromium.org, oshima@chromium.org, sky@chromium.org > > Review URL: https://codereview.chromium.org/24175004 TBR=davemoore@chromium.org Review URL: https://codereview.chromium.org/24262008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224499 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on ui::ScaleFactor from ui/gfxdavemoore@chromium.org2013-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | As part of the work to removed dependencies on ui/base from ui/gfx I have changed the public api to Canvas, ImageSkia, ImageSkiaRep and ImagePNGRep to take float scale values instead of ui::ScaleFactor. The notion of supported scale factors has been broken into 2 parts. ui::SetSupportedScaleFactors remains and calls the new ImageSkia::SetSupportedScales(). The initialization of the supported scale factors has been moved from layout.h into ResourceBundle, and is done explicitly in tests that don't use ResourceBundle. BUG=103304 R=ben@chromium.org, oshima@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/24175004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224473 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WindowSettings to WindowStateoshima@chromium.org2013-09-201-12/+11
| | | | | | | | | | | Move window control methods from window_util.h to WindowState Removed property_util which is no longer necessary. BUG=272460 Review URL: https://chromiumcodereview.appspot.com/24108003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224288 0039d316-1c4b-4281-b951-d872f2087c98
* Move code related to the window controls to ash/wm/caption_buttonspkotwicz@chromium.org2013-09-161-1/+1
| | | | | | | | | BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/23498031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223309 0039d316-1c4b-4281-b951-d872f2087c98
* ui/base/animation -> ui/gfx/animationsky@chromium.org2013-09-151-4/+4
| | | | | | | | | | | | | I also made GFX_EXPORT real, which is ok since it's the same as UI_EXPORT. It'll only matter when we separate out at gyp level. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/23531053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223289 0039d316-1c4b-4281-b951-d872f2087c98
* Remove observer in destructor toooshima@chromium.org2013-09-131-0/+1
| | | | | | | | BUG=290240 Review URL: https://chromiumcodereview.appspot.com/23619045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222948 0039d316-1c4b-4281-b951-d872f2087c98
* Group WM related properties to ash::wm::WindowSettingsoshima@chromium.org2013-09-111-12/+16
| | | | | | | | | | | | | | | * Introduced Observer to observe changes to the settings. * renamed UserHasChangedWindowPositinoOrSize to bounds_channed_by_user BUG=272460 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222512 R=flackr@chromium.org, skuhne@chromium.org, sky@chromium.org, varkha@chromium.org Review URL: https://codereview.chromium.org/23518006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222599 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 222512 "Group WM related properties to ash::wm::WindowSet..."stevet@chromium.org2013-09-111-16/+12
| | | | | | | | | | | | | | | | | | | | > Group WM related properties to ash::wm::WindowSettings > * Introduced Observer to observe changes to the settings. > * renamed UserHasChangedWindowPositinoOrSize to bounds_channed_by_user > > BUG=272460 > > Review URL: https://chromiumcodereview.appspot.com/23518006 REASON FOR REVERT: - Causing compiler errors on the tree: Win Aura Builder http://build.chromium.org/p/chromium.win/buildstatus?builder=Win%20Aura%20Builder&number=11959 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/23478025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222522 0039d316-1c4b-4281-b951-d872f2087c98
* Group WM related properties to ash::wm::WindowSettingsoshima@chromium.org2013-09-111-12/+16
| | | | | | | | | | | * Introduced Observer to observe changes to the settings. * renamed UserHasChangedWindowPositinoOrSize to bounds_channed_by_user BUG=272460 Review URL: https://chromiumcodereview.appspot.com/23518006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222512 0039d316-1c4b-4281-b951-d872f2087c98
* Added hit test for ChromeOS avatar when visible.michaelpg@chromium.org2013-09-071-2/+0
| | | | | | | | | | | BUG=282594 TEST=Run ChromeOS with flags: --force-fieldtrials="ShowProfileSwitcher/AlwaysShow/" --multi-profiles Review URL: https://chromiumcodereview.appspot.com/23583037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221857 0039d316-1c4b-4281-b951-d872f2087c98
* Replace kIgnoreSoloWindowFramePointerPolicy with global flagoshima@chromium.org2013-09-051-2/+10
| | | | | | | | | | | | Looks like this doesn't have to be a window property. Changed to use a plain global flag. BUG=272460 R=jamescook@chromium.org Review URL: https://codereview.chromium.org/23625007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221526 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce RootWindowProperty for RootWindow's propertiesoshima@chromium.org2013-08-301-3/+7
| | | | | | | | BUG=272460 Review URL: https://chromiumcodereview.appspot.com/23496024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220667 0039d316-1c4b-4281-b951-d872f2087c98
* Make PanelFrameView, CustomFrameViewAsh and BrowserNonClientFrameViewAsh use ↵pkotwicz@chromium.org2013-08-241-131/+44
| | | | | | | | | | | FrameCaptionButtonContainerView. TEST=FrameCaptionButtonContainerViewTest.* BUG=274171 Review URL: https://chromiumcodereview.appspot.com/23202005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219391 0039d316-1c4b-4281-b951-d872f2087c98
* [Refactor] Remove unused FramePainter::SetToggledButtonImages()pkotwicz@chromium.org2013-08-161-13/+0
| | | | | | | | | | BUG=None TEST=None TBR=jamescook Review URL: https://chromiumcodereview.appspot.com/23258003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217975 0039d316-1c4b-4281-b951-d872f2087c98
* Do not update window solo-ness if child visibility has changed.mukai@chromium.org2013-08-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Right now aura::Window emits OnVisibilityChanged() when its child window's visibility has changed (see: http://src.chromium.org/viewvc/chrome/trunk/src/ui/aura/window.cc#l1025) And when the user switches the tab, or load a tab, the child window of BrowserFrameAura's visibility is also changed, which causes FramePainter's OnVisibilityChanged(). Because FramePainter assumes window == window_ in that method and set window_ as |ignore_window|, it can't find any windows in the root, which makes UseSoloWindowHeaderInRoot() return false unexpectedly. Anyways, OnVisibilityChanged() doesn't need to update the solo header when the visibility change has happened on its child, not itself, so this CL just adds the simple check. BUG=268541 R=jamescook@chromium.org TEST=new ash_unittests passes Review URL: https://chromiumcodereview.appspot.com/22339003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216131 0039d316-1c4b-4281-b951-d872f2087c98
* Retires WorkspaceContainer.mukai@chromium.org2013-08-051-22/+18
| | | | | | | | | | | | Now DefaultContainer holds the normal windows. BUG=264396 R=sky@chromium.org TEST=ash_unittests still passes Review URL: https://chromiumcodereview.appspot.com/21806009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215664 0039d316-1c4b-4281-b951-d872f2087c98
* Make the header have no rounded corners in maximized and fullscreen mode.pkotwicz@chromium.org2013-07-311-11/+17
| | | | | | | | | BUG=263514 TEST=Manual, see bug Review URL: https://chromiumcodereview.appspot.com/20339002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214568 0039d316-1c4b-4281-b951-d872f2087c98
* Workspace cycling has never been enabled and now that we have just one ↵pkotwicz@chromium.org2013-07-261-41/+8
| | | | | | | | | | | | | | | workspace, it is pretty clear that it will never be enabled. No intended functionality change. BUG=None TEST=None R=jamescook TBR=sky Review URL: https://chromiumcodereview.appspot.com/20303004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213920 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix window header opacity during image dragjamescook@chromium.org2013-07-081-2/+6
| | | | | | | | | | | | | The drag and drop tracker creates a non-drawing window for mouse capture during the drag. Don't count non-drawing windows towards the "solo window" header opacity computation. BUG=248727 TEST=added to ash_unittests FramePainterTest Review URL: https://chromiumcodereview.appspot.com/18654003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210458 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix popup window icon alignment with titlejamescook@chromium.org2013-07-041-16/+16
| | | | | | | | | | | | | | Also change how we compute the title bounds, which provides better vertical centering for popup window titles. This broke due to panels changes crrev.com/183369 and crrev.com/157042 BUG=257068 TEST=added ash_unittests FramePainterTest.TitleIconAlignment Review URL: https://chromiumcodereview.appspot.com/18652005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210117 0039d316-1c4b-4281-b951-d872f2087c98
* Update title color of popup window when maximizedsimon.hong81@gmail.com2013-07-031-3/+7
| | | | | | | | | | | | | | When popup window is maximized, we can't read its title because its color is very similar to its background color. To make title more readable, title color is changed to white when popup window is maximized. R=jamescook@chromium.org BUG=163156 TEST=Compiles, Visual test Review URL: https://chromiumcodereview.appspot.com/18586003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210007 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_ptr<T>(NULL) to use the default ctor in ash/.dcheng@chromium.org2013-06-131-3/+1
| | | | | | | | | | | This is the result of running the rewrite_scoped_ptr_ctor_null tool across all files built on CrOS in the ash/ directory. BUG=173286 Review URL: https://chromiumcodereview.appspot.com/16968003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206125 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent starting a crossfade animation of the frame images as a result of a ↵pkotwicz@chromium.org2013-06-111-1/+16
| | | | | | | | | | | | theme change. Doing a crossfade animation is bad because we do not cache the image we are crossfading from. BUG=247251 TEST=Manual, see bug TBR=jamescook (Because this CL is a subset of https://codereview.chromium.org/16525002/) Review URL: https://chromiumcodereview.appspot.com/16431006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205444 0039d316-1c4b-4281-b951-d872f2087c98
* Properly crossfade the frame image when a "theme_frame_overlay" image is ↵pkotwicz@chromium.org2013-05-201-41/+107
| | | | | | | | | | | specified. BUG=240568 Test=Manual, see bug Review URL: https://chromiumcodereview.appspot.com/15096007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201030 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the background flashing when an unthemed browser window is in immersive ↵pkotwicz@chromium.org2013-05-151-14/+21
| | | | | | | | | | | fullscreen Bug=236598 Test=Manual, see bug Review URL: https://chromiumcodereview.appspot.com/15086004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200224 0039d316-1c4b-4281-b951-d872f2087c98
* Removes FrameBuffer::AdjustFrameHitCodeForMaximizedModes.mukai@chromium.org2013-05-131-38/+0
| | | | | | | | | BUG=235440 TEST=manually Review URL: https://chromiumcodereview.appspot.com/15030010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199833 0039d316-1c4b-4281-b951-d872f2087c98
* Extend touch hit target for autohidden shelf to allow draggingrharrison@chromium.org2013-05-011-7/+8
| | | | | | | | | | | | | | | | | | | | | | | This moves the edge gesture functionality from the BorderGestureHandler to the ShelfLayoutManager, so that touches on the edge of the screen when there is a touch enabled web page will be handled correctly. Specifically when autohidden the shelf will steal a small portion of the touch screen so that users may perform a drag operation to make it visible. This CL also changes the method SetHitTestBoundsOverrideOuter to take an inset for both mouse and touch instead of having a mouse inset and touch scale. This change is propagated to all the instances that this method is used and updates the unit tests. BUG=chromium:223666 TEST=Built and confirmed that dragging in/out works with shelf on left/bottom/right of screen with page open that handles touch events. Built and ran modified unit tests. Review URL: https://chromiumcodereview.appspot.com/14439006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197625 0039d316-1c4b-4281-b951-d872f2087c98
* Fix hard-to-read translucent modal dialog titlesjamescook@chromium.org2013-04-111-0/+2
| | | | | | | | | | | Chrome OS Ash window transparency computation was wrong. BUG=229709 TEST=Added to ash_unittests FramePainterTest Review URL: https://chromiumcodereview.appspot.com/14179002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193765 0039d316-1c4b-4281-b951-d872f2087c98
* Make the incognito icon show up in immersive fullscreenpkotwicz@chromium.org2013-04-011-3/+4
| | | | | | | | | | | | | BUG=169880 TEST=Manual, see steps below: 1) Run chrome with --ash-immersive-fullscreen 2) Open an incognito window 3) Use F11 to go into immersive mode 4) Hover mouse at the top of the screen, make sure that the incognito icon shows up Review URL: https://chromiumcodereview.appspot.com/13353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix transparent/black headers on panels and print dialogjamescook@chromium.org2013-03-301-9/+12
| | | | | | | | | | | | The computation for when to use transparent "solo window" headers was not correctly accounting for panels and constrained dialogs. BUG=224154,225015 TEST=added to ash_unittests FramePainterTest Review URL: https://chromiumcodereview.appspot.com/13313004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191549 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Refactor transparent window headers for single windowsjamescook@chromium.org2013-03-221-73/+87
| | | | | | | | | | | | | Fixes issue where V2 app windows cause the transparency of window headers to be computed incorrectly. BUG=176583 TEST=ash_unittests FramePainterTest.* R=mukai@chromium.org Review URL: https://codereview.chromium.org/12807003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189887 0039d316-1c4b-4281-b951-d872f2087c98
* Set the window frames to be non transparent while the user is cycling ↵pkotwicz@chromium.org2013-03-081-8/+43
| | | | | | | | | | | through workspaces Bug=176025 Test=Manual, see bug Review URL: https://chromiumcodereview.appspot.com/12319039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186826 0039d316-1c4b-4281-b951-d872f2087c98
* Immersive fullscreen polishjamescook@chromium.org2013-03-051-1/+3
| | | | | | | | | | | | | | | 1. Change loading indicator color to blue 2. Slow down the initial slide-out 3. Always paint the caption area black, like maximized 4. Clicks in the top pixel of the screen switch tabs 5. Fix a crash due to tooltip position lookup during view reparenting BUG=180022 TEST=manual, existing unit_tests and browser_tests Review URL: https://codereview.chromium.org/12393062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186102 0039d316-1c4b-4281-b951-d872f2087c98
* Add minimize button assets for panel windows.flackr@chromium.org2013-03-011-14/+22
| | | | | | | | | BUG=172275 TEST=Open a panel window, minimize button next to close button has the minimize button asset. Review URL: https://codereview.chromium.org/12313153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185534 0039d316-1c4b-4281-b951-d872f2087c98
* Reland ash: Use immersive mode for fullscreenjamescook@chromium.org2013-02-271-47/+4
| | | | | | | | | | | | | | | | | | * Remove immersive mode button from maximized window frame * Tie immersive mode to browser-fullscreen only, keep tab-fullscreen with existing UI * Size button exits immersive mode * Add ImageButton::GetImage for testing * Most browser commands are enabled in immersive fullscreen BUG=177549 TEST=added to browser_tests views_unittests ash_unittests Original review: https://codereview.chromium.org/12316086/ Review URL: https://chromiumcodereview.appspot.com/12328119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184908 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 184600jamescook@chromium.org2013-02-261-4/+47
| | | | | | | | | | | | | | | | | | | | | | | Breaks omnibox text input after leaving immersive mode, will fix and reland > ash: Use immersive mode for fullscreen > > * Remove immersive mode button from maximized window frame > * Tie immersive mode to browser-fullscreen only, keep tab-fullscreen > with existing UI > * Size button exits immersive mode > * Add ImageButton::GetImage for testing > > BUG=177549 > TEST=added to browser_tests views_unittests ash_unittests > > > Review URL: https://chromiumcodereview.appspot.com/12316086 TBR=jamescook@chromium.org Review URL: https://codereview.chromium.org/12335098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184669 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Use immersive mode for fullscreenjamescook@chromium.org2013-02-261-47/+4
| | | | | | | | | | | | | | | | * Remove immersive mode button from maximized window frame * Tie immersive mode to browser-fullscreen only, keep tab-fullscreen with existing UI * Size button exits immersive mode * Add ImageButton::GetImage for testing BUG=177549 TEST=added to browser_tests views_unittests ash_unittests Review URL: https://chromiumcodereview.appspot.com/12316086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184600 0039d316-1c4b-4281-b951-d872f2087c98
* Support panel titles and Icons for v1 appsstevenjb@chromium.org2013-02-201-2/+3
| | | | | | | | | | | | Also don't minimize when clicking on titlebar BUG=160645 Review URL: https://chromiumcodereview.appspot.com/12212207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183369 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Disable window caption buttons in immersive modejamescook@chromium.org2013-01-141-2/+2
| | | | | | | | | | | | | Set them invisible when immersive mode is enabled, but show them when we reveal the toolbar. Also ensure the caption buttons don't reserve too much horizontal space when the immersive mode button is invisible. Otherwise the tab strip doesn't have enough space. BUG=168855 TEST=added browser_tests BrowserNonClientFrameViewAshTest.ImmersiveMode Review URL: https://codereview.chromium.org/11826068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176751 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled transparency for header bars on the signin screen.ygorshenin@chromium.org2013-01-091-2/+1
| | | | | | | | | | BUG=131242 TEST=Tested on Linux ChromeOS build Review URL: https://chromiumcodereview.appspot.com/11673006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175779 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add real art resources for immersive mode buttonjamescook@chromium.org2012-11-271-8/+6
| | | | | | | | | | BUG=160897 TEST=visual TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/11308239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169799 0039d316-1c4b-4281-b951-d872f2087c98
* Makes windows obey their maximum size constraints on chromeos.koz@chromium.org2012-11-261-0/+4
| | | | | | | | | | | | | | | | - Prevents windows from resizing bigger than their max size - Prevents windows from snapping when they have max size defined - Prevents windows from maximizing when they have max size defined BUG=152065 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168447 Review URL: https://chromiumcodereview.appspot.com/11366215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169402 0039d316-1c4b-4281-b951-d872f2087c98
* Change immersive mode button to togglejamescook@chromium.org2012-11-211-2/+20
| | | | | | | | | | BUG=none TEST=manual, button changes toggle state when clicked Review URL: https://chromiumcodereview.appspot.com/11421017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169163 0039d316-1c4b-4281-b951-d872f2087c98