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

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

Issue 6893046: added CTRL+Click and SHIFT+Click handler for context menu, Back and Forward. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: reflected comments. Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/tab_contents/tab_contents_delegate.h" 5 #include "content/browser/tab_contents/tab_contents_delegate.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "content/browser/javascript_dialogs.h" 9 #include "content/browser/javascript_dialogs.h"
10 #include "content/common/url_constants.h" 10 #include "content/common/url_constants.h"
11 #include "ui/gfx/rect.h" 11 #include "ui/gfx/rect.h"
12 12
13 void TabContentsDelegate::GoBack(WindowOpenDisposition disposition) {
14 }
15
16 void TabContentsDelegate::GoForward(WindowOpenDisposition disposition) {
17 }
18
13 std::string TabContentsDelegate::GetNavigationHeaders(const GURL& url) { 19 std::string TabContentsDelegate::GetNavigationHeaders(const GURL& url) {
14 return std::string(); 20 return std::string();
15 } 21 }
16 22
17 void TabContentsDelegate::LoadProgressChanged(double progress) { 23 void TabContentsDelegate::LoadProgressChanged(double progress) {
18 } 24 }
19 25
20 void TabContentsDelegate::DetachContents(TabContents* source) { 26 void TabContentsDelegate::DetachContents(TabContents* source) {
21 } 27 }
22 28
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 TabContentsDelegate::GetJavaScriptDialogCreator() { 242 TabContentsDelegate::GetJavaScriptDialogCreator() {
237 return JavaScriptDialogCreatorStub::GetInstance(); 243 return JavaScriptDialogCreatorStub::GetInstance();
238 } 244 }
239 245
240 void TabContentsDelegate::RenderViewCreated(TabContents* source, 246 void TabContentsDelegate::RenderViewCreated(TabContents* source,
241 RenderViewHost* host) { 247 RenderViewHost* host) {
242 } 248 }
243 249
244 TabContentsDelegate::~TabContentsDelegate() { 250 TabContentsDelegate::~TabContentsDelegate() {
245 } 251 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698