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

Side by Side Diff: extensions/browser/app_window/app_window.h

Issue 691823002: Add WebContents source to methods in WebContentsDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « content/shell/browser/shell.cc ('k') | extensions/browser/app_window/app_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/shell/browser/shell.cc ('k') | extensions/browser/app_window/app_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698