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

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

Issue 302653006: Remove use of ResourceRequestInfo::GetRequestID from cert enrollment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android build. Created 6 years, 6 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) 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 #include "content/browser/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 2926 matching lines...) Expand 10 before | Expand all | Expand 10 after
2937 power_save_blockers_[render_frame_message_source_].erase(player_cookie); 2937 power_save_blockers_[render_frame_message_source_].erase(player_cookie);
2938 #endif // !defined(OS_CHROMEOS) 2938 #endif // !defined(OS_CHROMEOS)
2939 } 2939 }
2940 2940
2941 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() { 2941 void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() {
2942 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2942 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
2943 DidFirstVisuallyNonEmptyPaint()); 2943 DidFirstVisuallyNonEmptyPaint());
2944 } 2944 }
2945 2945
2946 void WebContentsImpl::DidChangeVisibleSSLState() { 2946 void WebContentsImpl::DidChangeVisibleSSLState() {
2947 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2947 if (delegate_)
2948 DidChangeVisibleSSLState()); 2948 delegate_->VisibleSSLStateChanged(this);
2949 } 2949 }
2950 2950
2951 void WebContentsImpl::NotifyBeforeFormRepostWarningShow() { 2951 void WebContentsImpl::NotifyBeforeFormRepostWarningShow() {
2952 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2952 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
2953 BeforeFormRepostWarningShow()); 2953 BeforeFormRepostWarningShow());
2954 } 2954 }
2955 2955
2956 2956
2957 void WebContentsImpl::ActivateAndShowRepostFormWarningDialog() { 2957 void WebContentsImpl::ActivateAndShowRepostFormWarningDialog() {
2958 Activate(); 2958 Activate();
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
4075 4075
4076 void WebContentsImpl::OnPreferredSizeChanged(const gfx::Size& old_size) { 4076 void WebContentsImpl::OnPreferredSizeChanged(const gfx::Size& old_size) {
4077 if (!delegate_) 4077 if (!delegate_)
4078 return; 4078 return;
4079 const gfx::Size new_size = GetPreferredSize(); 4079 const gfx::Size new_size = GetPreferredSize();
4080 if (new_size != old_size) 4080 if (new_size != old_size)
4081 delegate_->UpdatePreferredSize(this, new_size); 4081 delegate_->UpdatePreferredSize(this, new_size);
4082 } 4082 }
4083 4083
4084 } // namespace content 4084 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698