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

Unified Diff: chrome/browser/resources/pdf/index.html

Issue 169613005: Hookup print and save buttons in the out of process PDF plugin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « chrome/browser/resources/pdf/background.js ('k') | chrome/browser/resources/pdf/index.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/pdf/index.html
diff --git a/chrome/browser/resources/pdf/index.html b/chrome/browser/resources/pdf/index.html
index de4373a85c84c81b7ed40f238dc0afb4f21f9db4..e13491b2cda551ec7898dab792549bdb589b8862 100644
--- a/chrome/browser/resources/pdf/index.html
+++ b/chrome/browser/resources/pdf/index.html
@@ -174,7 +174,7 @@ license that can be found in the LICENSE file.
</polymer-element>
-<polymer-element name="viewer-toolbar" attributes="fadingIn" on-mouseover="{{fadeIn}}" on-mousemove="{{fadeIn}}" on-mouseout="{{fadeOut}}" assetpath="html_office/elements/viewer-toolbar/">
+<polymer-element name="viewer-toolbar" attributes="fadingIn" assetpath="html_office/elements/viewer-toolbar/">
<template>
<style>/* Copyright 2013 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
@@ -187,6 +187,7 @@ license that can be found in the LICENSE file.
font-size: 0;
opacity: 1;
padding: 30px 30px 15px 30vw;
+ pointer-events: none;
position: fixed;
right: 0;
}
@@ -226,6 +227,7 @@ license that can be found in the LICENSE file.
display: inline-block;
height: 36px;
margin: 0;
+ pointer-events: all;
width: 43px;
}
@@ -447,7 +449,9 @@ license that can be found in the LICENSE file.
<viewer-button id="zoom-out-button" src="button_zoom_out.png">
</viewer-button>
</polymer-selector>
- <viewer-button id="save-button" src="button_save.png"></viewer-button>
+ <a id="save-button-link" download="">
+ <viewer-button id="save-button" src="button_save.png"></viewer-button>
+ </a>
<viewer-button id="print-button" src="button_print.png"></viewer-button>
</viewer-toolbar>
« no previous file with comments | « chrome/browser/resources/pdf/background.js ('k') | chrome/browser/resources/pdf/index.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698