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

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

Issue 21629002: Supports changing resolutions from options UI page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 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
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_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/display/display_controller.h" 10 #include "ash/display/display_controller.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // (left/right/top/bottom), and |offset| is the offset length from the 52 // (left/right/top/bottom), and |offset| is the offset length from the
53 // left/top edge of the primary display. 53 // left/top edge of the primary display.
54 void OnFadeOutForDisplayLayoutFinished(int layout, int offset); 54 void OnFadeOutForDisplayLayoutFinished(int layout, int offset);
55 55
56 // Handlers of JS messages. 56 // Handlers of JS messages.
57 void HandleDisplayInfo(const base::ListValue* unused_args); 57 void HandleDisplayInfo(const base::ListValue* unused_args);
58 void HandleMirroring(const base::ListValue* args); 58 void HandleMirroring(const base::ListValue* args);
59 void HandleSetPrimary(const base::ListValue* args); 59 void HandleSetPrimary(const base::ListValue* args);
60 void HandleDisplayLayout(const base::ListValue* args); 60 void HandleDisplayLayout(const base::ListValue* args);
61 void HandleSetUIScale(const base::ListValue* args); 61 void HandleSetUIScale(const base::ListValue* args);
62 void HandleSetResolution(const base::ListValue* args);
62 void HandleSetOrientation(const base::ListValue* args); 63 void HandleSetOrientation(const base::ListValue* args);
63 64
64 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler); 65 DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler);
65 }; 66 };
66 67
67 } // namespace options 68 } // namespace options
68 } // namespace chromeos 69 } // namespace chromeos
69 70
70 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_ 71 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698