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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 6871020: Added functionality to use "SaveAs..." from PDF plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 bool showing_repost_interstitial); 689 bool showing_repost_interstitial);
690 void OnDidLoadResourceFromMemoryCache(const GURL& url, 690 void OnDidLoadResourceFromMemoryCache(const GURL& url,
691 const std::string& security_info); 691 const std::string& security_info);
692 void OnDidDisplayInsecureContent(); 692 void OnDidDisplayInsecureContent();
693 void OnDidRunInsecureContent(const std::string& security_origin, 693 void OnDidRunInsecureContent(const std::string& security_origin,
694 const GURL& target_url); 694 const GURL& target_url);
695 void OnDocumentLoadedInFrame(int64 frame_id); 695 void OnDocumentLoadedInFrame(int64 frame_id);
696 void OnDidFinishLoad(int64 frame_id); 696 void OnDidFinishLoad(int64 frame_id);
697 void OnUpdateContentRestrictions(int restrictions); 697 void OnUpdateContentRestrictions(int restrictions);
698 void OnPDFHasUnsupportedFeature(); 698 void OnPDFHasUnsupportedFeature();
699 void OnSaveAs();
699 700
700 void OnGoToEntryAtOffset(int offset); 701 void OnGoToEntryAtOffset(int offset);
701 void OnPageContents(const GURL& url, 702 void OnPageContents(const GURL& url,
702 int32 page_id, 703 int32 page_id,
703 const string16& contents, 704 const string16& contents,
704 const std::string& language, 705 const std::string& language,
705 bool page_translatable); 706 bool page_translatable);
706 void OnPageTranslated(int32 page_id, 707 void OnPageTranslated(int32 page_id,
707 const std::string& original_lang, 708 const std::string& original_lang,
708 const std::string& translated_lang, 709 const std::string& translated_lang,
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 ObserverList<TabContentsObserver> observers_; 1106 ObserverList<TabContentsObserver> observers_;
1106 1107
1107 // Content restrictions, used to disable print/copy etc based on content's 1108 // Content restrictions, used to disable print/copy etc based on content's
1108 // (full-page plugins for now only) permissions. 1109 // (full-page plugins for now only) permissions.
1109 int content_restrictions_; 1110 int content_restrictions_;
1110 1111
1111 DISALLOW_COPY_AND_ASSIGN(TabContents); 1112 DISALLOW_COPY_AND_ASSIGN(TabContents);
1112 }; 1113 };
1113 1114
1114 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1115 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698