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

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

Issue 3060045: Making window.focus() work in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 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 void TabContentsDelegate::DetachContents(TabContents* source) { 7 void TabContentsDelegate::DetachContents(TabContents* source) {
8 } 8 }
9 9
10 bool TabContentsDelegate::IsPopup(const TabContents* source) const { 10 bool TabContentsDelegate::IsPopup(const TabContents* source) const {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 TabContentsDelegate::CreateExtensionFunctionDispatcher( 61 TabContentsDelegate::CreateExtensionFunctionDispatcher(
62 RenderViewHost* render_view_host, 62 RenderViewHost* render_view_host,
63 const std::string& extension_id) { 63 const std::string& extension_id) {
64 return NULL; 64 return NULL;
65 } 65 }
66 66
67 bool TabContentsDelegate::TakeFocus(bool reverse) { 67 bool TabContentsDelegate::TakeFocus(bool reverse) {
68 return false; 68 return false;
69 } 69 }
70 70
71 void TabContentsDelegate::Activate() {
72 }
73
74 void TabContentsDelegate::Deactivate(){
75 }
76
71 void TabContentsDelegate::SetTabContentBlocked( 77 void TabContentsDelegate::SetTabContentBlocked(
72 TabContents* contents, bool blocked) { 78 TabContents* contents, bool blocked) {
73 } 79 }
74 80
75 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) { 81 void TabContentsDelegate::TabContentsFocused(TabContents* tab_content) {
76 } 82 }
77 83
78 int TabContentsDelegate::GetExtraRenderViewHeight() const { 84 int TabContentsDelegate::GetExtraRenderViewHeight() const {
79 return 0; 85 return 0;
80 } 86 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 166 }
161 167
162 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) { 168 void TabContentsDelegate::UpdatePreferredSize(const gfx::Size& pref_size) {
163 } 169 }
164 170
165 void TabContentsDelegate::ContentTypeChanged(TabContents* source) { 171 void TabContentsDelegate::ContentTypeChanged(TabContents* source) {
166 } 172 }
167 173
168 TabContentsDelegate::~TabContentsDelegate() { 174 TabContentsDelegate::~TabContentsDelegate() {
169 } 175 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.h ('k') | chrome/browser/tab_contents/tab_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698