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

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

Issue 11416042: views: Change the LocationBarView delegate's API to GetWebContents(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed 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
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"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Implements content::PageNavigator: 63 // Implements content::PageNavigator:
64 virtual content::WebContents* OpenURL( 64 virtual content::WebContents* OpenURL(
65 const content::OpenURLParams& params) OVERRIDE; 65 const content::OpenURLParams& params) OVERRIDE;
66 66
67 // Implements content::WebContentsDelegate: 67 // Implements content::WebContentsDelegate:
68 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; 68 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE;
69 69
70 // Implements LocationBarView::Delegate: 70 // Implements LocationBarView::Delegate:
71 virtual void NavigationStateChanged(const content::WebContents* source, 71 virtual void NavigationStateChanged(const content::WebContents* source,
72 unsigned changed_flags) OVERRIDE; 72 unsigned changed_flags) OVERRIDE;
73 virtual TabContents* GetTabContents() const OVERRIDE; 73 virtual content::WebContents* GetWebContents() const OVERRIDE;
74 virtual InstantController* GetInstant() OVERRIDE; 74 virtual InstantController* GetInstant() OVERRIDE;
75 virtual views::Widget* CreateViewsBubble( 75 virtual views::Widget* CreateViewsBubble(
76 views::BubbleDelegateView* bubble_delegate) OVERRIDE; 76 views::BubbleDelegateView* bubble_delegate) OVERRIDE;
77 virtual PageActionImageView* CreatePageActionImageView( 77 virtual PageActionImageView* CreatePageActionImageView(
78 LocationBarView* owner, 78 LocationBarView* owner,
79 ExtensionAction* action) OVERRIDE; 79 ExtensionAction* action) OVERRIDE;
80 virtual ContentSettingBubbleModelDelegate* 80 virtual ContentSettingBubbleModelDelegate*
81 GetContentSettingBubbleModelDelegate() OVERRIDE; 81 GetContentSettingBubbleModelDelegate() OVERRIDE;
82 virtual void ShowPageInfo(content::WebContents* web_contents, 82 virtual void ShowPageInfo(content::WebContents* web_contents,
83 const GURL& url, 83 const GURL& url,
(...skipping 29 matching lines...) Expand all
113 scoped_ptr<views::WebView> web_view_container_; 113 scoped_ptr<views::WebView> web_view_container_;
114 114
115 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; 115 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_;
116 116
117 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); 117 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog);
118 }; 118 };
119 119
120 } // chromeos 120 } // chromeos
121 121
122 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ 122 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698