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

Unified Diff: chrome/browser/ui/webui/print_preview_ui.h

Issue 8564040: Revert 110035 - Print Preview: Making margin selection sticky (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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: chrome/browser/ui/webui/print_preview_ui.h
===================================================================
--- chrome/browser/ui/webui/print_preview_ui.h (revision 110039)
+++ chrome/browser/ui/webui/print_preview_ui.h (working copy)
@@ -50,10 +50,6 @@
string16 initiator_tab_title() { return initiator_tab_title_; }
- bool source_is_modifiable() { return source_is_modifiable_; }
-
- void SetSourceIsModifiable(bool source_is_modifiable);
-
// Determines whether to cancel a print preview request based on
// |preview_ui_addr| and |request_id|.
// Can be called from any thread.
@@ -118,15 +114,6 @@
void OnCancelPendingPreviewRequest();
private:
- friend class PrintPreviewHandlerTest;
- FRIEND_TEST_ALL_PREFIXES(PrintPreviewHandlerTest, StickyMarginsCustom);
- FRIEND_TEST_ALL_PREFIXES(PrintPreviewHandlerTest, StickyMarginsDefault);
- FRIEND_TEST_ALL_PREFIXES(PrintPreviewHandlerTest,
- StickyMarginsCustomThenDefault);
- FRIEND_TEST_ALL_PREFIXES(PrintPreviewHandlerTest,
- GetLastUsedMarginSettingsCustom);
- FRIEND_TEST_ALL_PREFIXES(PrintPreviewHandlerTest,
- GetLastUsedMarginSettingsDefault);
FRIEND_TEST_ALL_PREFIXES(PrintPreviewTabControllerUnitTest,
TitleAfterReload);
@@ -145,9 +132,6 @@
// when the initiator tab is closed/crashed.
std::string initiator_url_;
- // Indicates whether the source document can be modified.
- bool source_is_modifiable_;
-
// Store the initiator tab title, used for populating the print preview tab
// title.
string16 initiator_tab_title_;
« no previous file with comments | « chrome/browser/ui/webui/print_preview_handler_unittest.cc ('k') | chrome/browser/ui/webui/print_preview_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698