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

Side by Side Diff: chrome/browser/resources/print_preview/previewarea/preview_area.js

Issue 2108833002: Remove Simplify Page option from Print Preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark histogram entries as unused Created 4 years, 5 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) 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 /** 5 /**
6 * @typedef {{accessibility: Function, 6 * @typedef {{accessibility: Function,
7 * documentLoadComplete: Function, 7 * documentLoadComplete: Function,
8 * getHeight: Function, 8 * getHeight: Function,
9 * getHorizontalScrollbarThickness: Function, 9 * getHorizontalScrollbarThickness: Function,
10 * getPageLocationNormalized: Function, 10 * getPageLocationNormalized: Function,
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 this.onTicketChange_.bind(this)); 343 this.onTicketChange_.bind(this));
344 this.tracker.add( 344 this.tracker.add(
345 this.printTicketStore_.customMargins, 345 this.printTicketStore_.customMargins,
346 print_preview.ticket_items.TicketItem.EventType.CHANGE, 346 print_preview.ticket_items.TicketItem.EventType.CHANGE,
347 this.onTicketChange_.bind(this)); 347 this.onTicketChange_.bind(this));
348 this.tracker.add( 348 this.tracker.add(
349 this.printTicketStore_.fitToPage, 349 this.printTicketStore_.fitToPage,
350 print_preview.ticket_items.TicketItem.EventType.CHANGE, 350 print_preview.ticket_items.TicketItem.EventType.CHANGE,
351 this.onTicketChange_.bind(this)); 351 this.onTicketChange_.bind(this));
352 this.tracker.add( 352 this.tracker.add(
353 this.printTicketStore_.distillPage,
354 print_preview.ticket_items.TicketItem.EventType.CHANGE,
355 this.onTicketChange_.bind(this));
356 this.tracker.add(
357 this.printTicketStore_.headerFooter, 353 this.printTicketStore_.headerFooter,
358 print_preview.ticket_items.TicketItem.EventType.CHANGE, 354 print_preview.ticket_items.TicketItem.EventType.CHANGE,
359 this.onTicketChange_.bind(this)); 355 this.onTicketChange_.bind(this));
360 this.tracker.add( 356 this.tracker.add(
361 this.printTicketStore_.landscape, 357 this.printTicketStore_.landscape,
362 print_preview.ticket_items.TicketItem.EventType.CHANGE, 358 print_preview.ticket_items.TicketItem.EventType.CHANGE,
363 this.onTicketChange_.bind(this)); 359 this.onTicketChange_.bind(this));
364 this.tracker.add( 360 this.tracker.add(
365 this.printTicketStore_.marginsType, 361 this.printTicketStore_.marginsType,
366 print_preview.ticket_items.TicketItem.EventType.CHANGE, 362 print_preview.ticket_items.TicketItem.EventType.CHANGE,
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 // being draggable. 689 // being draggable.
694 this.plugin_.style.pointerEvents = isDragging ? 'none' : 'auto'; 690 this.plugin_.style.pointerEvents = isDragging ? 'none' : 'auto';
695 } 691 }
696 }; 692 };
697 693
698 // Export 694 // Export
699 return { 695 return {
700 PreviewArea: PreviewArea 696 PreviewArea: PreviewArea
701 }; 697 };
702 }); 698 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/preview_generator.js ('k') | chrome/browser/resources/print_preview/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698