OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FIRST_RUN_FIRST_RUN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/public/browser/web_contents_delegate.h" | 10 #include "content/public/browser/web_contents_delegate.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // WebUI view used for first run tutorial. | 27 // WebUI view used for first run tutorial. |
28 class FirstRunView : public views::View, | 28 class FirstRunView : public views::View, |
29 public content::WebContentsDelegate { | 29 public content::WebContentsDelegate { |
30 public: | 30 public: |
31 FirstRunView(); | 31 FirstRunView(); |
32 void Init(content::BrowserContext* context); | 32 void Init(content::BrowserContext* context); |
33 FirstRunActor* GetActor(); | 33 FirstRunActor* GetActor(); |
34 | 34 |
35 // Overriden from views::View. | 35 // Overriden from views::View. |
36 virtual void Layout() OVERRIDE; | 36 virtual void Layout() override; |
37 virtual void RequestFocus() OVERRIDE; | 37 virtual void RequestFocus() override; |
38 | 38 |
39 content::WebContents* GetWebContents(); | 39 content::WebContents* GetWebContents(); |
40 | 40 |
41 private: | 41 private: |
42 // Overriden from content::WebContentsDelegate. | 42 // Overriden from content::WebContentsDelegate. |
43 virtual bool HandleContextMenu( | 43 virtual bool HandleContextMenu( |
44 const content::ContextMenuParams& params) OVERRIDE; | 44 const content::ContextMenuParams& params) override; |
45 virtual bool PreHandleGestureEvent( | 45 virtual bool PreHandleGestureEvent( |
46 content::WebContents* source, | 46 content::WebContents* source, |
47 const blink::WebGestureEvent& event) OVERRIDE; | 47 const blink::WebGestureEvent& event) override; |
48 | 48 |
49 views::WebView* web_view_; | 49 views::WebView* web_view_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(FirstRunView); | 51 DISALLOW_COPY_AND_ASSIGN(FirstRunView); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace chromeos | 54 } // namespace chromeos |
55 | 55 |
56 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_ | 56 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_ |
57 | 57 |
OLD | NEW |