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

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

Issue 7461106: Inform disk cache of WebKit memory cache hits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implement in backend Created 9 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 | 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 void OnDidRedirectProvisionalLoad(int32 page_id, 544 void OnDidRedirectProvisionalLoad(int32 page_id,
545 bool has_opener_set, 545 bool has_opener_set,
546 const GURL& source_url, 546 const GURL& source_url,
547 const GURL& target_url); 547 const GURL& target_url);
548 void OnDidFailProvisionalLoadWithError(int64 frame_id, 548 void OnDidFailProvisionalLoadWithError(int64 frame_id,
549 bool main_frame, 549 bool main_frame,
550 int error_code, 550 int error_code,
551 const GURL& url, 551 const GURL& url,
552 bool showing_repost_interstitial); 552 bool showing_repost_interstitial);
553 void OnDidLoadResourceFromMemoryCache(const GURL& url, 553 void OnDidLoadResourceFromMemoryCache(const GURL& url,
554 const std::string& security_info); 554 const std::string& security_info,
555 const std::string& http_request);
555 void OnDidDisplayInsecureContent(); 556 void OnDidDisplayInsecureContent();
556 void OnDidRunInsecureContent(const std::string& security_origin, 557 void OnDidRunInsecureContent(const std::string& security_origin,
557 const GURL& target_url); 558 const GURL& target_url);
558 void OnDocumentLoadedInFrame(int64 frame_id); 559 void OnDocumentLoadedInFrame(int64 frame_id);
559 void OnDidFinishLoad(int64 frame_id); 560 void OnDidFinishLoad(int64 frame_id);
560 void OnUpdateContentRestrictions(int restrictions); 561 void OnUpdateContentRestrictions(int restrictions);
561 void OnGoToEntryAtOffset(int offset); 562 void OnGoToEntryAtOffset(int offset);
562 void OnUpdateZoomLimits(int minimum_percent, 563 void OnUpdateZoomLimits(int minimum_percent,
563 int maximum_percent, 564 int maximum_percent,
564 bool remember); 565 bool remember);
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 ObserverList<TabContentsObserver> observers_; 853 ObserverList<TabContentsObserver> observers_;
853 854
854 // Content restrictions, used to disable print/copy etc based on content's 855 // Content restrictions, used to disable print/copy etc based on content's
855 // (full-page plugins for now only) permissions. 856 // (full-page plugins for now only) permissions.
856 int content_restrictions_; 857 int content_restrictions_;
857 858
858 DISALLOW_COPY_AND_ASSIGN(TabContents); 859 DISALLOW_COPY_AND_ASSIGN(TabContents);
859 }; 860 };
860 861
861 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 862 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698