| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 APPS_CUSTOM_LAUNCHER_PAGE_CONTENTS_H_ | 5 #ifndef APPS_CUSTOM_LAUNCHER_PAGE_CONTENTS_H_ |
| 6 #define APPS_CUSTOM_LAUNCHER_PAGE_CONTENTS_H_ | 6 #define APPS_CUSTOM_LAUNCHER_PAGE_CONTENTS_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/public/browser/web_contents_delegate.h" | 9 #include "content/public/browser/web_contents_delegate.h" |
| 10 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 content::WebContents* OpenURLFromTab( | 45 content::WebContents* OpenURLFromTab( |
| 46 content::WebContents* source, | 46 content::WebContents* source, |
| 47 const content::OpenURLParams& params) override; | 47 const content::OpenURLParams& params) override; |
| 48 void AddNewContents(content::WebContents* source, | 48 void AddNewContents(content::WebContents* source, |
| 49 content::WebContents* new_contents, | 49 content::WebContents* new_contents, |
| 50 WindowOpenDisposition disposition, | 50 WindowOpenDisposition disposition, |
| 51 const gfx::Rect& initial_pos, | 51 const gfx::Rect& initial_pos, |
| 52 bool user_gesture, | 52 bool user_gesture, |
| 53 bool* was_blocked) override; | 53 bool* was_blocked) override; |
| 54 bool IsPopupOrPanel(const content::WebContents* source) const override; | 54 bool IsPopupOrPanel(const content::WebContents* source) const override; |
| 55 bool ShouldSuppressDialogs() override; | 55 bool ShouldSuppressDialogs(content::WebContents* source) override; |
| 56 bool PreHandleGestureEvent(content::WebContents* source, | 56 bool PreHandleGestureEvent(content::WebContents* source, |
| 57 const blink::WebGestureEvent& event) override; | 57 const blink::WebGestureEvent& event) override; |
| 58 content::ColorChooser* OpenColorChooser( | 58 content::ColorChooser* OpenColorChooser( |
| 59 content::WebContents* web_contents, | 59 content::WebContents* web_contents, |
| 60 SkColor color, | 60 SkColor color, |
| 61 const std::vector<content::ColorSuggestion>& suggestions) override; | 61 const std::vector<content::ColorSuggestion>& suggestions) override; |
| 62 void RunFileChooser(content::WebContents* tab, | 62 void RunFileChooser(content::WebContents* tab, |
| 63 const content::FileChooserParams& params) override; | 63 const content::FileChooserParams& params) override; |
| 64 void RequestToLockMouse(content::WebContents* web_contents, | 64 void RequestToLockMouse(content::WebContents* web_contents, |
| 65 bool user_gesture, | 65 bool user_gesture, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 89 scoped_ptr<extensions::AppWebContentsHelper> helper_; | 89 scoped_ptr<extensions::AppWebContentsHelper> helper_; |
| 90 | 90 |
| 91 std::string extension_id_; | 91 std::string extension_id_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(CustomLauncherPageContents); | 93 DISALLOW_COPY_AND_ASSIGN(CustomLauncherPageContents); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace apps | 96 } // namespace apps |
| 97 | 97 |
| 98 #endif // APPS_CUSTOM_LAUNCHER_PAGE_CONTENTS_H_ | 98 #endif // APPS_CUSTOM_LAUNCHER_PAGE_CONTENTS_H_ |
| OLD | NEW |