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

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

Issue 6537015: Start moving core pieces of Chrome multi-process code to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "chrome/browser/automation/automation_resource_routing_delegate.h" 13 #include "chrome/browser/automation/automation_resource_routing_delegate.h"
14 #include "chrome/browser/tab_contents/navigation_entry.h"
15 #include "chrome/common/content_settings_types.h" 14 #include "chrome/common/content_settings_types.h"
16 #include "chrome/common/navigation_types.h" 15 #include "chrome/common/navigation_types.h"
17 #include "chrome/common/page_transition_types.h" 16 #include "chrome/common/page_transition_types.h"
17 #include "content/browser/tab_contents/navigation_entry.h"
18 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
19 #include "webkit/glue/window_open_disposition.h" 19 #include "webkit/glue/window_open_disposition.h"
20 20
21 namespace gfx { 21 namespace gfx {
22 class Point; 22 class Point;
23 class Rect; 23 class Rect;
24 class Size; 24 class Size;
25 } 25 }
26 26
27 namespace history { 27 namespace history {
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // Notifies the delegate whether the page supports instant-style interaction. 314 // Notifies the delegate whether the page supports instant-style interaction.
315 virtual void OnInstantSupportDetermined(int32 page_id, bool result); 315 virtual void OnInstantSupportDetermined(int32 page_id, bool result);
316 316
317 // Notifies the delegate that the content restrictions for this tab has 317 // Notifies the delegate that the content restrictions for this tab has
318 // changed. 318 // changed.
319 virtual void ContentRestrictionsChanged(TabContents* source); 319 virtual void ContentRestrictionsChanged(TabContents* source);
320 320
321 // Returns true if the hung renderer dialog should be shown. Default is true. 321 // Returns true if the hung renderer dialog should be shown. Default is true.
322 virtual bool ShouldShowHungRendererDialog(); 322 virtual bool ShouldShowHungRendererDialog();
323 323
324 // Notification that a worker associated with this tab has crashed.
325 virtual void WorkerCrashed();
326
324 protected: 327 protected:
325 virtual ~TabContentsDelegate(); 328 virtual ~TabContentsDelegate();
326 }; 329 };
327 330
328 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 331 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698