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

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

Issue 274040: More style nits. (Closed)
Patch Set: Created 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
7 7
8 #include <string>
9
8 #include "app/gfx/native_widget_types.h" 10 #include "app/gfx/native_widget_types.h"
9 #include "base/basictypes.h" 11 #include "base/basictypes.h"
10 #include "base/gfx/rect.h" 12 #include "base/gfx/rect.h"
11 #include "chrome/browser/tab_contents/navigation_entry.h" 13 #include "chrome/browser/tab_contents/navigation_entry.h"
12 #include "chrome/common/native_web_keyboard_event.h" 14 #include "chrome/common/native_web_keyboard_event.h"
13 #include "chrome/common/page_transition_types.h" 15 #include "chrome/common/page_transition_types.h"
14 #include "webkit/glue/context_menu.h" 16 #include "webkit/glue/context_menu.h"
15 #include "webkit/glue/window_open_disposition.h" 17 #include "webkit/glue/window_open_disposition.h"
16 18
17 class DownloadItem; 19 class DownloadItem;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) {} 232 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) {}
231 233
232 // Allows delegate to override navigation to the history entries. 234 // Allows delegate to override navigation to the history entries.
233 // Returns true to allow TabContents to continue with the default processing. 235 // Returns true to allow TabContents to continue with the default processing.
234 virtual bool OnGoToEntryOffset(int offset) { 236 virtual bool OnGoToEntryOffset(int offset) {
235 return true; 237 return true;
236 } 238 }
237 239
238 protected: 240 protected:
239 ~TabContentsDelegate() {} 241 ~TabContentsDelegate() {}
240
241 }; 242 };
242 243
243 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 244 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698