OLD | NEW |
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 // Inits view. Should be attached to a Widget before call. | 52 // Inits view. Should be attached to a Widget before call. |
53 void Init(); | 53 void Init(); |
54 | 54 |
55 // Overridden from views::WidgetDelegate: | 55 // Overridden from views::WidgetDelegate: |
56 virtual views::View* GetContentsView() OVERRIDE; | 56 virtual views::View* GetContentsView() OVERRIDE; |
57 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 57 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
58 | 58 |
59 // Implements views::ButtonListener: | 59 // Implements views::ButtonListener: |
60 virtual void ButtonPressed(views::Button* sender, | 60 virtual void ButtonPressed(views::Button* sender, |
61 const views::Event& event) OVERRIDE; | 61 const ui::Event& event) OVERRIDE; |
62 | 62 |
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, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 scoped_ptr<views::WebView> web_view_container_; | 115 scoped_ptr<views::WebView> web_view_container_; |
116 | 116 |
117 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; | 117 scoped_ptr<StubBubbleModelDelegate> bubble_model_delegate_; |
118 | 118 |
119 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); | 119 DISALLOW_COPY_AND_ASSIGN(SimpleWebViewDialog); |
120 }; | 120 }; |
121 | 121 |
122 } // chromeos | 122 } // chromeos |
123 | 123 |
124 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ | 124 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIMPLE_WEB_VIEW_DIALOG_H_ |
OLD | NEW |