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

Side by Side Diff: chrome/browser/chromeos/login/simple_web_view_dialog.h

Issue 11418043: Remove TabContents from OmniboxEditController and friends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 8 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 | « no previous file | chrome/browser/chromeos/login/simple_web_view_dialog.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/command_updater.h" 10 #include "chrome/browser/command_updater.h"
11 #include "chrome/browser/ui/toolbar/toolbar_model_delegate.h" 11 #include "chrome/browser/ui/toolbar/toolbar_model_delegate.h"
12 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 12 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
13 #include "content/public/browser/page_navigator.h" 13 #include "content/public/browser/page_navigator.h"
14 #include "content/public/browser/web_contents_delegate.h" 14 #include "content/public/browser/web_contents_delegate.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "ui/views/controls/button/image_button.h" 16 #include "ui/views/controls/button/image_button.h"
17 #include "ui/views/widget/widget_delegate.h" 17 #include "ui/views/widget/widget_delegate.h"
18 18
19 class Profile; 19 class Profile;
20 class ReloadButton; 20 class ReloadButton;
21 class TabContents;
22 class ToolbarModel; 21 class ToolbarModel;
23 22
24 namespace views { 23 namespace views {
25 class WebView; 24 class WebView;
26 class Widget; 25 class Widget;
27 } 26 }
28 27
29 namespace chromeos { 28 namespace chromeos {
30 29
31 class StubBubbleModelDelegate; 30 class StubBubbleModelDelegate;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Implements content::PageNavigator: 62 // Implements content::PageNavigator:
64 virtual content::WebContents* OpenURL( 63 virtual content::WebContents* OpenURL(
65 const content::OpenURLParams& params) OVERRIDE; 64 const content::OpenURLParams& params) OVERRIDE;
66 65
67 // Implements content::WebContentsDelegate: 66 // Implements content::WebContentsDelegate:
68 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; 67 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE;
69 68
70 // Implements LocationBarView::Delegate: 69 // Implements LocationBarView::Delegate:
71 virtual void NavigationStateChanged(const content::WebContents* source, 70 virtual void NavigationStateChanged(const content::WebContents* source,
72 unsigned changed_flags) OVERRIDE; 71 unsigned changed_flags) OVERRIDE;
73 virtual TabContents* GetTabContents() const OVERRIDE; 72 virtual content::WebContents* GetWebContents() const OVERRIDE;
74 virtual InstantController* GetInstant() OVERRIDE; 73 virtual InstantController* GetInstant() OVERRIDE;
75 virtual views::Widget* CreateViewsBubble( 74 virtual views::Widget* CreateViewsBubble(
76 views::BubbleDelegateView* bubble_delegate) OVERRIDE; 75 views::BubbleDelegateView* bubble_delegate) OVERRIDE;
77 virtual PageActionImageView* CreatePageActionImageView( 76 virtual PageActionImageView* CreatePageActionImageView(
78 LocationBarView* owner, 77 LocationBarView* owner,
79 ExtensionAction* action) OVERRIDE; 78 ExtensionAction* action) OVERRIDE;
80 virtual ContentSettingBubbleModelDelegate* 79 virtual ContentSettingBubbleModelDelegate*
81 GetContentSettingBubbleModelDelegate() OVERRIDE; 80 GetContentSettingBubbleModelDelegate() OVERRIDE;
82 virtual void ShowPageInfo(content::WebContents* web_contents, 81 virtual void ShowPageInfo(content::WebContents* web_contents,
83 const GURL& url, 82 const GURL& url,
(...skipping 29 matching lines...) Expand all
113 scoped_ptr<views::WebView> web_view_container_; 112 scoped_ptr<views::WebView> web_view_container_;
114 113
115 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; 114 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_;
116 115
117 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); 116 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog);
118 }; 117 };
119 118
120 } // chromeos 119 } // chromeos
121 120
122 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/simple_web_view_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698