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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/display_options_handler.h

Issue 10817028: Add Fade-out/Fade-in animation during output-configuration change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/ui/webui/options2/chromeos/display_options_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "chrome/browser/ui/webui/options2/options_ui.h" 10 #include "chrome/browser/ui/webui/options2/options_ui.h"
(...skipping 28 matching lines...) Expand all
39 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; 39 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
40 40
41 private: 41 private:
42 // Updates the display section visibility based on the current display 42 // Updates the display section visibility based on the current display
43 // configurations. 43 // configurations.
44 void UpdateDisplaySectionVisibility(); 44 void UpdateDisplaySectionVisibility();
45 45
46 // Sends the current display information to the web_ui of options page. 46 // Sends the current display information to the web_ui of options page.
47 void SendDisplayInfo(); 47 void SendDisplayInfo();
48 48
49 // Called when the fade-out animation for mirroring status change is finished.
50 void FadeOutForMirroringFinished(bool is_mirroring);
51
52 // Called when the fade-out animation for secondary display layout change is
53 // finished.
54 void FadeOutForDisplayLayoutFinished(int layout);
55
49 // Handlers of JS messages. 56 // Handlers of JS messages.
50 void HandleDisplayInfo(const base::ListValue* unused_args); 57 void HandleDisplayInfo(const base::ListValue* unused_args);
51 void HandleMirroring(const base::ListValue* args); 58 void HandleMirroring(const base::ListValue* args);
52 void HandleDisplayLayout(const base::ListValue* args); 59 void HandleDisplayLayout(const base::ListValue* args);
53 60
54 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler); 61 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler);
55 }; 62 };
56 63
57 } // namespace options2 64 } // namespace options2
58 } // namespace chromeos 65 } // namespace chromeos
59 66
60 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ 67 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/ui/webui/options2/chromeos/display_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698