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

Side by Side Diff: chrome/browser/chromeos/first_run/first_run_view.h

Issue 2089933002: Context Menu Refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing nits Created 4 years, 6 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
OLDNEW
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/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/web_contents_delegate.h" 10 #include "content/public/browser/web_contents_delegate.h"
(...skipping 22 matching lines...) Expand all
33 FirstRunActor* GetActor(); 33 FirstRunActor* GetActor();
34 34
35 // Overriden from views::View. 35 // Overriden from views::View.
36 void Layout() override; 36 void Layout() override;
37 void RequestFocus() override; 37 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 bool HandleContextMenu(const content::ContextMenuParams& params) override; 43 bool HandleContextMenu(RenderFrameHost* render_frame_host,
44 const content::ContextMenuParams& params) override;
44 bool PreHandleGestureEvent(content::WebContents* source, 45 bool PreHandleGestureEvent(content::WebContents* source,
45 const blink::WebGestureEvent& event) override; 46 const blink::WebGestureEvent& event) override;
46 47
47 views::WebView* web_view_; 48 views::WebView* web_view_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(FirstRunView); 50 DISALLOW_COPY_AND_ASSIGN(FirstRunView);
50 }; 51 };
51 52
52 } // namespace chromeos 53 } // namespace chromeos
53 54
54 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_ 55 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_
55 56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698