summaryrefslogtreecommitdiffstats
path: root/ash/wm/resize_shadow_controller.h
Commit message (Collapse)AuthorAgeFilesLines
* Standardize usage of virtual/override/final specifiers.dcheng2014-10-281-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=flackr@chromium.org Review URL: https://codereview.chromium.org/645513008 Cr-Commit-Position: refs/heads/master@{#301541}
* replace OVERRIDE and FINAL with override and final in ash/mostynb2014-10-031-2/+2
| | | | | | | | BUG=417463 Review URL: https://codereview.chromium.org/621133002 Cr-Commit-Position: refs/heads/master@{#298040}
* Eliminate ash::internal namespaceoshima@chromium.org2014-04-031-3/+0
| | | | | | | | | | | Plus obvious style nit fixes. BUG=None TBR=sky@chromium.org Review URL: https://codereview.chromium.org/224113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261522 0039d316-1c4b-4281-b951-d872f2087c98
* Show shadow on drag edge when touch-resizingmohsen@chromium.org2013-08-091-1/+4
| | | | | | | | | | | | | As soon as the user touches the touch-resize area around a window, a shadow is rendered under the associated edge(s) to indicate that the user can resize the window by dragging their finger. This shadow will remain until the user lifts the finger. BUG=257006 Review URL: https://chromiumcodereview.appspot.com/21235007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216772 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #pragma once from ashajwong@chromium.org2012-07-111-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10693135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146075 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Window header heights to new UI specjamescook@chromium.org2012-05-151-1/+3
| | | | | | | | | | | | | | + Changed signature of aura::WindowObserver::OnWindowBoundsChanged() to report both old and new bounds. + Re-layout window frame when the window either starts or stops touching the top of the screen. + Small metrics tweaks. BUG=123341 TEST=Added BrowserNonClientFrameViewAshTest, also drag windows against the top of the screen, then move them away, note header changes size Review URL: https://chromiumcodereview.appspot.com/10377133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137052 0039d316-1c4b-4281-b951-d872f2087c98
* Reland - Ash: Add resize border shadow effectjamescook@chromium.org2012-03-171-0/+61
| | | | | | | | | | | | | | | | | * Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127268 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=127277 Review URL: http://codereview.chromium.org/9677070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127328 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127268 - Ash: Add resize border shadow effectjamescook@chromium.org2012-03-161-61/+0
| | | | | | | | | | | | | | | | * Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Review URL: https://chromiumcodereview.appspot.com/9677070 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9724005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127277 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Add resize border shadow effectjamescook@chromium.org2012-03-161-0/+61
* Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Review URL: https://chromiumcodereview.appspot.com/9677070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127268 0039d316-1c4b-4281-b951-d872f2087c98