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

Side by Side Diff: content/public/browser/web_contents_delegate.cc

Issue 2400243002: Remove grow box rect support, browser part. (Closed)
Patch Set: . Created 4 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 | « content/public/browser/web_contents_delegate.h ('k') | services/navigation/public/cpp/view.h » ('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 (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/public/browser/web_contents_delegate.h" 5 #include "content/public/browser/web_contents_delegate.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 20 matching lines...) Expand all
31 bool is_main_frame_navigation) { 31 bool is_main_frame_navigation) {
32 return true; 32 return true;
33 } 33 }
34 34
35 bool WebContentsDelegate::IsPopupOrPanel(const WebContents* source) const { 35 bool WebContentsDelegate::IsPopupOrPanel(const WebContents* source) const {
36 return false; 36 return false;
37 } 37 }
38 38
39 bool WebContentsDelegate::CanOverscrollContent() const { return false; } 39 bool WebContentsDelegate::CanOverscrollContent() const { return false; }
40 40
41 gfx::Rect WebContentsDelegate::GetRootWindowResizerRect() const {
42 return gfx::Rect();
43 }
44
45 bool WebContentsDelegate::ShouldSuppressDialogs(WebContents* source) { 41 bool WebContentsDelegate::ShouldSuppressDialogs(WebContents* source) {
46 return false; 42 return false;
47 } 43 }
48 44
49 bool WebContentsDelegate::ShouldPreserveAbortedURLs(WebContents* source) { 45 bool WebContentsDelegate::ShouldPreserveAbortedURLs(WebContents* source) {
50 return false; 46 return false;
51 } 47 }
52 48
53 bool WebContentsDelegate::AddMessageToConsole(WebContents* source, 49 bool WebContentsDelegate::AddMessageToConsole(WebContents* source,
54 int32_t level, 50 int32_t level,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 void WebContentsDelegate::ShowCertificateViewerInDevTools( 264 void WebContentsDelegate::ShowCertificateViewerInDevTools(
269 WebContents* web_contents, 265 WebContents* web_contents,
270 scoped_refptr<net::X509Certificate> certificate) { 266 scoped_refptr<net::X509Certificate> certificate) {
271 } 267 }
272 268
273 void WebContentsDelegate::RequestAppBannerFromDevTools( 269 void WebContentsDelegate::RequestAppBannerFromDevTools(
274 content::WebContents* web_contents) { 270 content::WebContents* web_contents) {
275 } 271 }
276 272
277 } // namespace content 273 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | services/navigation/public/cpp/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698