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

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

Issue 2461093002: Revert of Trigger Dangerous indicator for unsafe subresources (Closed)
Patch Set: 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_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // TODO(creis): We should run the beforeunload handler for every frame that 423 // TODO(creis): We should run the beforeunload handler for every frame that
424 // has one. 424 // has one.
425 virtual void DispatchBeforeUnload() = 0; 425 virtual void DispatchBeforeUnload() = 0;
426 426
427 // Attaches this inner WebContents to its container frame 427 // Attaches this inner WebContents to its container frame
428 // |outer_contents_frame| in |outer_web_contents|. 428 // |outer_contents_frame| in |outer_web_contents|.
429 virtual void AttachToOuterWebContentsFrame( 429 virtual void AttachToOuterWebContentsFrame(
430 WebContents* outer_web_contents, 430 WebContents* outer_web_contents,
431 RenderFrameHost* outer_contents_frame) = 0; 431 RenderFrameHost* outer_contents_frame) = 0;
432 432
433 // Invoked when visible security state changes.
434 virtual void DidChangeVisibleSecurityState() = 0;
435
436 // Commands ------------------------------------------------------------------ 433 // Commands ------------------------------------------------------------------
437 434
438 // Stop any pending navigation. 435 // Stop any pending navigation.
439 virtual void Stop() = 0; 436 virtual void Stop() = 0;
440 437
441 // Creates a new WebContents with the same state as this one. The returned 438 // Creates a new WebContents with the same state as this one. The returned
442 // heap-allocated pointer is owned by the caller. 439 // heap-allocated pointer is owned by the caller.
443 virtual WebContents* Clone() = 0; 440 virtual WebContents* Clone() = 0;
444 441
445 // Reloads the focused frame. 442 // Reloads the focused frame.
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 761
765 private: 762 private:
766 // This interface should only be implemented inside content. 763 // This interface should only be implemented inside content.
767 friend class WebContentsImpl; 764 friend class WebContentsImpl;
768 WebContents() {} 765 WebContents() {}
769 }; 766 };
770 767
771 } // namespace content 768 } // namespace content
772 769
773 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 770 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698