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

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

Issue 1567903002: [Test - Do Not Commit] Stop blocking requests for new windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge onto #371523 Created 4 years, 11 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 29 matching lines...) Expand all
40 void OnWindowReady() override; 40 void OnWindowReady() override;
41 content::WebContents* GetWebContents() const override; 41 content::WebContents* GetWebContents() const override;
42 WindowController* GetWindowController() const override; 42 WindowController* GetWindowController() const override;
43 43
44 private: 44 private:
45 // content::WebContentsObserver 45 // content::WebContentsObserver
46 bool OnMessageReceived(const IPC::Message& message) override; 46 bool OnMessageReceived(const IPC::Message& message) override;
47 void ReadyToCommitNavigation(content::NavigationHandle* handle) override; 47 void ReadyToCommitNavigation(content::NavigationHandle* handle) override;
48 48
49 void UpdateDraggableRegions(const std::vector<DraggableRegion>& regions); 49 void UpdateDraggableRegions(const std::vector<DraggableRegion>& regions);
50 void SuspendRenderFrameHost(content::RenderFrameHost* rfh);
51 50
52 AppWindow* host_; // This class is owned by |host_| 51 AppWindow* host_; // This class is owned by |host_|
53 GURL url_; 52 GURL url_;
54 scoped_ptr<content::WebContents> web_contents_; 53 scoped_ptr<content::WebContents> web_contents_;
55 bool is_blocking_requests_;
56 bool is_window_ready_; 54 bool is_window_ready_;
57 55
58 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl); 56 DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl);
59 }; 57 };
60 58
61 } // namespace extensions 59 } // namespace extensions
62 60
63 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_ 61 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | extensions/browser/app_window/app_window_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698