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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2456383003: Reland of Trigger Dangerous indicator for unsafe subresources (Closed)
Patch Set: initialize is_subframe Created 4 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 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 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const; 176 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const;
177 177
178 // Creates a BrowserPluginEmbedder object for this WebContents if one doesn't 178 // Creates a BrowserPluginEmbedder object for this WebContents if one doesn't
179 // already exist. 179 // already exist.
180 void CreateBrowserPluginEmbedderIfNecessary(); 180 void CreateBrowserPluginEmbedderIfNecessary();
181 181
182 // Cancels modal dialogs in this WebContents, as well as in any browser 182 // Cancels modal dialogs in this WebContents, as well as in any browser
183 // plugins it is hosting. 183 // plugins it is hosting.
184 void CancelActiveAndPendingDialogs(); 184 void CancelActiveAndPendingDialogs();
185 185
186 // Invoked when visible SSL state (as defined by SSLStatus) changes.
187 void DidChangeVisibleSSLState();
188
189 // Informs the render view host and the BrowserPluginEmbedder, if present, of 186 // Informs the render view host and the BrowserPluginEmbedder, if present, of
190 // a Drag Source End. 187 // a Drag Source End.
191 void DragSourceEndedAt(int client_x, int client_y, int screen_x, 188 void DragSourceEndedAt(int client_x, int client_y, int screen_x,
192 int screen_y, blink::WebDragOperation operation); 189 int screen_y, blink::WebDragOperation operation);
193 190
194 // Notification that the RenderViewHost's load state changed. 191 // Notification that the RenderViewHost's load state changed.
195 void LoadStateChanged(const GURL& url, 192 void LoadStateChanged(const GURL& url,
196 const net::LoadStateWithParam& load_state, 193 const net::LoadStateWithParam& load_state,
197 uint64_t upload_position, 194 uint64_t upload_position,
198 uint64_t upload_size); 195 uint64_t upload_size);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 base::TimeTicks GetLastActiveTime() const override; 327 base::TimeTicks GetLastActiveTime() const override;
331 void SetLastActiveTime(base::TimeTicks last_active_time) override; 328 void SetLastActiveTime(base::TimeTicks last_active_time) override;
332 base::TimeTicks GetLastHiddenTime() const override; 329 base::TimeTicks GetLastHiddenTime() const override;
333 void WasShown() override; 330 void WasShown() override;
334 void WasHidden() override; 331 void WasHidden() override;
335 bool NeedToFireBeforeUnload() override; 332 bool NeedToFireBeforeUnload() override;
336 void DispatchBeforeUnload() override; 333 void DispatchBeforeUnload() override;
337 void AttachToOuterWebContentsFrame( 334 void AttachToOuterWebContentsFrame(
338 WebContents* outer_web_contents, 335 WebContents* outer_web_contents,
339 RenderFrameHost* outer_contents_frame) override; 336 RenderFrameHost* outer_contents_frame) override;
337 void DidChangeVisibleSecurityState() override;
340 void Stop() override; 338 void Stop() override;
341 WebContents* Clone() override; 339 WebContents* Clone() override;
342 void ReloadFocusedFrame(bool bypass_cache) override; 340 void ReloadFocusedFrame(bool bypass_cache) override;
343 void Undo() override; 341 void Undo() override;
344 void Redo() override; 342 void Redo() override;
345 void Cut() override; 343 void Cut() override;
346 void Copy() override; 344 void Copy() override;
347 void CopyToFindPboard() override; 345 void CopyToFindPboard() override;
348 void Paste() override; 346 void Paste() override;
349 void PasteAndMatchStyle() override; 347 void PasteAndMatchStyle() override;
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 // Adds/removes a callback called on creation of each new WebContents. 1462 // Adds/removes a callback called on creation of each new WebContents.
1465 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1463 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1466 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1464 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1467 1465
1468 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1466 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1469 }; 1467 };
1470 1468
1471 } // namespace content 1469 } // namespace content
1472 1470
1473 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1471 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_manager_unittest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698