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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_delegate.cc

Issue 3547008: Handle resize corner layout entirely in the platform BrowserWindow*/BrowserView* code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.h ('k') | chrome/browser/ui/browser.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/tab_contents/tab_contents_delegate.h" 5 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
6 6
7 #include "chrome/browser/search_engines/template_url.h" 7 #include "chrome/browser/search_engines/template_url.h"
8 #include "gfx/rect.h" 8 #include "gfx/rect.h"
9 9
10 void TabContentsDelegate::DetachContents(TabContents* source) { 10 void TabContentsDelegate::DetachContents(TabContents* source) {
(...skipping 23 matching lines...) Expand all
34 void TabContentsDelegate::OnContentSettingsChange(TabContents* source) { } 34 void TabContentsDelegate::OnContentSettingsChange(TabContents* source) { }
35 35
36 bool TabContentsDelegate::IsApplication() const { return false; } 36 bool TabContentsDelegate::IsApplication() const { return false; }
37 37
38 void TabContentsDelegate::ConvertContentsToApplication(TabContents* source) { } 38 void TabContentsDelegate::ConvertContentsToApplication(TabContents* source) { }
39 39
40 bool TabContentsDelegate::CanReloadContents(TabContents* source) const { 40 bool TabContentsDelegate::CanReloadContents(TabContents* source) const {
41 return true; 41 return true;
42 } 42 }
43 43
44 gfx::Rect TabContentsDelegate::GetRootWindowResizerRect() const {
45 return gfx::Rect();
46 }
47
48 void TabContentsDelegate::ShowHtmlDialog(HtmlDialogUIDelegate* delegate, 44 void TabContentsDelegate::ShowHtmlDialog(HtmlDialogUIDelegate* delegate,
49 gfx::NativeWindow parent_window) { 45 gfx::NativeWindow parent_window) {
50 } 46 }
51 47
52 void TabContentsDelegate::BeforeUnloadFired(TabContents* tab, 48 void TabContentsDelegate::BeforeUnloadFired(TabContents* tab,
53 bool proceed, 49 bool proceed,
54 bool* proceed_to_fire_unload) { 50 bool* proceed_to_fire_unload) {
55 *proceed_to_fire_unload = true; 51 *proceed_to_fire_unload = true;
56 } 52 }
57 53
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 194
199 void TabContentsDelegate::OnInstantSupportDetermined(int32 page_id, 195 void TabContentsDelegate::OnInstantSupportDetermined(int32 page_id,
200 bool result) { 196 bool result) {
201 } 197 }
202 198
203 void TabContentsDelegate::ContentRestrictionsChanged(TabContents* source) { 199 void TabContentsDelegate::ContentRestrictionsChanged(TabContents* source) {
204 } 200 }
205 201
206 TabContentsDelegate::~TabContentsDelegate() { 202 TabContentsDelegate::~TabContentsDelegate() {
207 } 203 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698