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

Side by Side Diff: chrome/renderer/chrome_render_frame_observer.h

Issue 1363803003: Remove ChromeRenderFrameObserver::HasRefreshMetaTag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_frame_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_
6 #define CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_ 6 #define CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "content/public/renderer/render_frame_observer.h" 10 #include "content/public/renderer/render_frame_observer.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void OnRequestReloadImageForContextNode(); 93 void OnRequestReloadImageForContextNode();
94 void OnRequestThumbnailForContextNode( 94 void OnRequestThumbnailForContextNode(
95 int thumbnail_min_area_pixels, 95 int thumbnail_min_area_pixels,
96 const gfx::Size& thumbnail_max_size_pixels); 96 const gfx::Size& thumbnail_max_size_pixels);
97 void OnPrintNodeUnderContextMenu(); 97 void OnPrintNodeUnderContextMenu();
98 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); 98 void OnSetClientSidePhishingDetection(bool enable_phishing_detection);
99 void OnAppBannerPromptRequest(int request_id, 99 void OnAppBannerPromptRequest(int request_id,
100 const std::string& platform); 100 const std::string& platform);
101 void OnAppBannerDebugMessageRequest(const std::string& message); 101 void OnAppBannerDebugMessageRequest(const std::string& message);
102 102
103 // Checks if a page contains <meta http-equiv="refresh" ...> tag.
104 bool HasRefreshMetaTag(blink::WebLocalFrame* frame);
105
106 // PageInfoReceiver implementation. 103 // PageInfoReceiver implementation.
107 void PageCaptured(base::string16* content, CaptureType capture_type) override; 104 void PageCaptured(base::string16* content, CaptureType capture_type) override;
108 105
109 // Have the same lifetime as us. 106 // Have the same lifetime as us.
110 translate::TranslateHelper* translate_helper_; 107 translate::TranslateHelper* translate_helper_;
111 safe_browsing::PhishingClassifierDelegate* phishing_classifier_; 108 safe_browsing::PhishingClassifierDelegate* phishing_classifier_;
112 109
113 PageInfo page_info_; 110 PageInfo page_info_;
114 111
115 DISALLOW_COPY_AND_ASSIGN(ChromeRenderFrameObserver); 112 DISALLOW_COPY_AND_ASSIGN(ChromeRenderFrameObserver);
116 }; 113 };
117 114
118 #endif // CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_ 115 #endif // CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_frame_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698