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

Side by Side Diff: services/navigation/public/cpp/view.h

Issue 2400243002: Remove grow box rect support, browser part. (Closed)
Patch Set: . Created 4 years, 2 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
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | services/navigation/public/cpp/view.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_H_ 5 #ifndef SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_H_
6 #define SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_H_ 6 #define SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "mojo/public/cpp/bindings/binding.h" 10 #include "mojo/public/cpp/bindings/binding.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void GetForwardMenuItems(std::vector<NavigationListItem>* items); 59 void GetForwardMenuItems(std::vector<NavigationListItem>* items);
60 60
61 // Reload/Stop. 61 // Reload/Stop.
62 void Reload(bool bypass_cache); 62 void Reload(bool bypass_cache);
63 void Stop(); 63 void Stop();
64 64
65 // Interstitials. 65 // Interstitials.
66 void ShowInterstitial(const std::string& html); 66 void ShowInterstitial(const std::string& html);
67 void HideInterstitial(); 67 void HideInterstitial();
68 68
69 // When non-empty, specifies the size of an area in the bottom corner of the
70 // View that should allow the enclosing top-level window to be resized via the
71 // pointer.
72 void SetResizerSize(const gfx::Size& size);
73
74 // Embed the View visually within |parent|. 69 // Embed the View visually within |parent|.
75 void EmbedInWindow(ui::Window* parent); 70 void EmbedInWindow(ui::Window* parent);
76 71
77 private: 72 private:
78 // mojom::ViewClient: 73 // mojom::ViewClient:
79 void OpenURL(mojom::OpenURLParamsPtr params) override; 74 void OpenURL(mojom::OpenURLParamsPtr params) override;
80 void LoadingStateChanged(bool is_loading) override; 75 void LoadingStateChanged(bool is_loading) override;
81 void NavigationStateChanged(const GURL& url, 76 void NavigationStateChanged(const GURL& url,
82 const mojo::String& title, 77 const mojo::String& title,
83 bool can_go_back, 78 bool can_go_back,
(...skipping 26 matching lines...) Expand all
110 bool can_go_forward_ = false; 105 bool can_go_forward_ = false;
111 106
112 mojom::NavigationEntryPtr pending_navigation_; 107 mojom::NavigationEntryPtr pending_navigation_;
113 std::vector<mojom::NavigationEntryPtr> navigation_list_; 108 std::vector<mojom::NavigationEntryPtr> navigation_list_;
114 int navigation_list_cursor_ = 0; 109 int navigation_list_cursor_ = 0;
115 }; 110 };
116 111
117 } // namespace navigation 112 } // namespace navigation
118 113
119 #endif // SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_H_ 114 #endif // SERVICES_NAVIGATION_PUBLIC_CPP_VIEW_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | services/navigation/public/cpp/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698