summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 16:14:30 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 16:14:30 +0000
commit9e52129b96738e19b584aa1356eb29d53ac58e74 (patch)
tree6ef30a33d1e7ce513edd9e122c7c886bb972fe29 /ash
parentf8ae4bfa660bd3c8755b8a160aa2da008aa3ede0 (diff)
downloadchromium_src-9e52129b96738e19b584aa1356eb29d53ac58e74.zip
chromium_src-9e52129b96738e19b584aa1356eb29d53ac58e74.tar.gz
chromium_src-9e52129b96738e19b584aa1356eb29d53ac58e74.tar.bz2
Clean-up inline members of nested classes (ash/)
Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10837185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r--ash/wm/shelf_layout_manager.cc2
-rw-r--r--ash/wm/shelf_layout_manager.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ash/wm/shelf_layout_manager.cc b/ash/wm/shelf_layout_manager.cc
index 6c0d9e6..fa758dc 100644
--- a/ash/wm/shelf_layout_manager.cc
+++ b/ash/wm/shelf_layout_manager.cc
@@ -328,6 +328,8 @@ void ShelfLayoutManager::OnWindowActivated(aura::Window* active,
////////////////////////////////////////////////////////////////////////////////
// ShelfLayoutManager, private:
+ShelfLayoutManager::TargetBounds::TargetBounds() : opacity(0.0f) {}
+
gfx::Rect ShelfLayoutManager::GetMaximizedWindowBounds(
aura::Window* window) {
gfx::Rect bounds(ScreenAsh::GetDisplayBoundsInParent(window));
diff --git a/ash/wm/shelf_layout_manager.h b/ash/wm/shelf_layout_manager.h
index 5797a59..588bcb3 100644
--- a/ash/wm/shelf_layout_manager.h
+++ b/ash/wm/shelf_layout_manager.h
@@ -168,7 +168,7 @@ class ASH_EXPORT ShelfLayoutManager :
FRIEND_TEST_ALL_PREFIXES(ShelfLayoutManagerTest, SetAutoHideBehavior);
struct TargetBounds {
- TargetBounds() : opacity(0.0f) {}
+ TargetBounds();
float opacity;
gfx::Rect launcher_bounds_in_root;