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

Side by Side Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.cc

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 months 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/browser/chromeos/extensions/wallpaper_private_api.h" 5 #include "chrome/browser/chromeos/extensions/wallpaper_private_api.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "ash/desktop_background/desktop_background_controller.h" 10 #include "ash/desktop_background/desktop_background_controller.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const std::string& user_id_hash, aura::Window* active_window); 116 const std::string& user_id_hash, aura::Window* active_window);
117 117
118 // Unminimize all the stored windows for |user_id_hash|. 118 // Unminimize all the stored windows for |user_id_hash|.
119 void RestoreMinimizedWindows(const std::string& user_id_hash); 119 void RestoreMinimizedWindows(const std::string& user_id_hash);
120 120
121 // Remove the observer from |window| if |window| is no longer referenced in 121 // Remove the observer from |window| if |window| is no longer referenced in
122 // user_id_hash_window_list_map_. 122 // user_id_hash_window_list_map_.
123 void RemoveObserverIfUnreferenced(aura::Window* window); 123 void RemoveObserverIfUnreferenced(aura::Window* window);
124 124
125 // aura::WindowObserver overrides. 125 // aura::WindowObserver overrides.
126 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 126 virtual void OnWindowDestroyed(aura::Window* window) override;
127 127
128 // Map of user id hash and associated list of minimized windows. 128 // Map of user id hash and associated list of minimized windows.
129 UserIDHashWindowListMap user_id_hash_window_list_map_; 129 UserIDHashWindowListMap user_id_hash_window_list_map_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(WindowStateManager); 131 DISALLOW_COPY_AND_ASSIGN(WindowStateManager);
132 }; 132 };
133 133
134 // static 134 // static
135 WindowStateManager* g_window_state_manager = NULL; 135 WindowStateManager* g_window_state_manager = NULL;
136 136
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 this, file_list)); 883 this, file_list));
884 } 884 }
885 885
886 void WallpaperPrivateGetOfflineWallpaperListFunction::OnComplete( 886 void WallpaperPrivateGetOfflineWallpaperListFunction::OnComplete(
887 const std::vector<std::string>& file_list) { 887 const std::vector<std::string>& file_list) {
888 base::ListValue* results = new base::ListValue(); 888 base::ListValue* results = new base::ListValue();
889 results->AppendStrings(file_list); 889 results->AppendStrings(file_list);
890 SetResult(results); 890 SetResult(results);
891 SendResponse(true); 891 SendResponse(true);
892 } 892 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698