| 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
| 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 353 |
| 354 protected: | 354 protected: |
| 355 ~AppWindow() override; | 355 ~AppWindow() override; |
| 356 | 356 |
| 357 private: | 357 private: |
| 358 // PlatformAppBrowserTest needs access to web_contents() | 358 // PlatformAppBrowserTest needs access to web_contents() |
| 359 friend class PlatformAppBrowserTest; | 359 friend class PlatformAppBrowserTest; |
| 360 | 360 |
| 361 // content::WebContentsDelegate implementation. | 361 // content::WebContentsDelegate implementation. |
| 362 void CloseContents(content::WebContents* contents) override; | 362 void CloseContents(content::WebContents* contents) override; |
| 363 bool ShouldSuppressDialogs() override; | 363 bool ShouldSuppressDialogs(content::WebContents* source) override; |
| 364 content::ColorChooser* OpenColorChooser( | 364 content::ColorChooser* OpenColorChooser( |
| 365 content::WebContents* web_contents, | 365 content::WebContents* web_contents, |
| 366 SkColor color, | 366 SkColor color, |
| 367 const std::vector<content::ColorSuggestion>& suggestions) override; | 367 const std::vector<content::ColorSuggestion>& suggestions) override; |
| 368 void RunFileChooser(content::WebContents* tab, | 368 void RunFileChooser(content::WebContents* tab, |
| 369 const content::FileChooserParams& params) override; | 369 const content::FileChooserParams& params) override; |
| 370 bool IsPopupOrPanel(const content::WebContents* source) const override; | 370 bool IsPopupOrPanel(const content::WebContents* source) const override; |
| 371 void MoveContents(content::WebContents* source, | 371 void MoveContents(content::WebContents* source, |
| 372 const gfx::Rect& pos) override; | 372 const gfx::Rect& pos) override; |
| 373 void NavigationStateChanged(const content::WebContents* source, | 373 void NavigationStateChanged(const content::WebContents* source, |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 | 547 |
| 548 // Whether |alpha_enabled| was set in the CreateParams. | 548 // Whether |alpha_enabled| was set in the CreateParams. |
| 549 bool requested_alpha_enabled_; | 549 bool requested_alpha_enabled_; |
| 550 | 550 |
| 551 DISALLOW_COPY_AND_ASSIGN(AppWindow); | 551 DISALLOW_COPY_AND_ASSIGN(AppWindow); |
| 552 }; | 552 }; |
| 553 | 553 |
| 554 } // namespace extensions | 554 } // namespace extensions |
| 555 | 555 |
| 556 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 556 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
| OLD | NEW |