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

Unified Diff: remoting/webapp/main.html

Issue 9884001: Added screen options menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer feedback. Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/main.html
diff --git a/remoting/webapp/main.html b/remoting/webapp/main.html
index 402795ebafb41c6e15873e2ffce0daec347364da..9bc8950e3d4efa3286e24d83851ec5e773a5be17 100644
--- a/remoting/webapp/main.html
+++ b/remoting/webapp/main.html
@@ -14,6 +14,7 @@ found in the LICENSE file.
<link rel="stylesheet" href="connection_stats.css">
<link rel="stylesheet" href="connection_history.css">
<link rel="stylesheet" href="main.css">
+ <link rel="stylesheet" href="menu_button.css">
<link rel="stylesheet" href="toolbar.css">
<script src="ask_pin_dialog.js"></script>
<script src="client_plugin_async.js"></script>
@@ -32,6 +33,7 @@ found in the LICENSE file.
<script src="host_table_entry.js"></script>
<script src="l10n.js"></script>
<script src="log_to_server.js"></script>
+ <script src="menu_button.js"></script>
<script src="oauth2.js"></script>
<script src="plugin_settings.js"></script>
<script src="remoting.js"></script>
@@ -428,10 +430,19 @@ found in the LICENSE file.
type="button"
i18n-content="DISCONNECT_MYSELF_BUTTON">
</button>
- <span class="end-align">
- <button id="toggle-scaling">
- <img src="scale-to-fit.png">
+ <div class="box-spacer"></div>
+ <span class="menu-button" id="screen-options-menu">
+ <button>
+ <span i18n-content="SCREEN_OPTIONS"></span>
+ <img src="disclosure_arrow_down.png"
+ class="kd-disclosureindicator">
</button>
+ <ul>
+ <li id="enable-shrink-to-fit" i18n-content="SHRINK_TO_FIT"></li>
+ <li id="disable-shrink-to-fit" i18n-content="ORIGINAL_SIZE"></li>
+ <li class="menu-separator"></li>
+ <li id="toggle-full-screen" i18n-content="FULL_SCREEN"></li>
+ </ul>
</span>
</div>
<div class="toolbar-stub" id="toolbar-stub">

Powered by Google App Engine
This is Rietveld 408576698